Skip to content

Commit

Permalink
Use mill launcher to make sure versions align (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol authored Mar 22, 2024
1 parent aee3ae7 commit 3bcbec6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,8 @@ jobs:
distribution: adopt
java-version: 11

- name: Setup Mill
uses: jodersky/setup-mill@master
with:
mill-version: 0.10.12

- name: Run tests
run: |
mill -k --disable-ticker __.resolvedIvyDeps &&
mill -k --disable-ticker mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll __.sources &&
mill -j 0 -k --disable-ticker __.test
./mill -k --disable-ticker __.resolvedIvyDeps &&
./mill -k --disable-ticker mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll __.sources &&
./mill -j 0 -k --disable-ticker __.test
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,8 @@ jobs:
distribution: adopt
java-version: 11

- name: Setup Mill
uses: jodersky/setup-mill@master
with:
mill-version: 0.10.7

- name: Publish
run: mill -i -j 0 --disable-ticker io.kipp.mill.ci.release.ReleaseModule/publishAll
run: ./mill -i -j 0 --disable-ticker io.kipp.mill.ci.release.ReleaseModule/publishAll
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
Expand Down

0 comments on commit 3bcbec6

Please sign in to comment.