Skip to content

Commit

Permalink
add setup-sbt action (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Jan 19, 2025
1 parent d760264 commit ff48859
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
~/.cache/coursier
key: ${{ runner.os }}-sbt-${{matrix.scala}}-${{ hashFiles('**/*.sbt') }}

- uses: sbt/setup-sbt@v1

- name: Formatting
run: |
sbt scalafmtCheck test:scalafmtCheck scalafmtSbtCheck
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
distribution: temurin
- uses: olafurpg/setup-gpg@v3
if: startsWith(github.ref, 'refs/tags/v')
- uses: sbt/setup-sbt@v1
- name: Publish ${{ github.ref }}
run: sbt ci-release
env:
Expand Down

0 comments on commit ff48859

Please sign in to comment.