Skip to content

Commit

Permalink
ci: use sbt/setup-sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
tkrs committed Jan 21, 2025
1 parent 08b40e1 commit e69b4d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
java-version: "11"
distribution: "temurin"
cache: "sbt"
- uses: sbt/setup-sbt@v1
- run: sbt ++${{ matrix.scalaVersion }} test
if: startsWith(matrix.scalaVersion, '3')
- run: sbt ++${{ matrix.scalaVersion }} coverage test coverageReport
Expand All @@ -48,6 +49,7 @@ jobs:
java-version: "11"
distribution: "temurin"
cache: "sbt"
- uses: sbt/setup-sbt@v1
- run: sbt scalafmtCheckAll
scalafix:
runs-on: ubuntu-latest
Expand All @@ -58,4 +60,5 @@ jobs:
java-version: "11"
distribution: "temurin"
cache: "sbt"
- uses: sbt/setup-sbt@v1
- run: sbt "scalafixAll --check"
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
java-version: "11"
distribution: "temurin"
cache: "sbt"
- uses: sbt/setup-sbt@v1
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down

0 comments on commit e69b4d6

Please # to comment.