Skip to content

Commit

Permalink
Merge pull request #383 from cucumber/fix-ci
Browse files Browse the repository at this point in the history
ci: use setup-sbt to enforce sbt command available
  • Loading branch information
gaeljw authored Jan 13, 2025
2 parents fbd196d + 11279d2 commit 74dcee1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
java-version: ${{ matrix.java }}
distribution: 'adopt'

- uses: sbt/setup-sbt@v1

- name: Formatting check
run: sbt scalafmtCheckAll

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-sbt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
distribution: "temurin"
java-version: "11"

- uses: sbt/setup-sbt@v1

- uses: cucumber/[email protected]
with:
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/version-policy-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ jobs:
java-version: ${{ matrix.java }}
distribution: 'adopt'

- uses: sbt/setup-sbt@v1

- name: Version check
run: sbt "project cucumberScala" versionPolicyCheck

0 comments on commit 74dcee1

Please sign in to comment.