Skip to content

Commit

Permalink
Install sbt in GH actions (#551)
Browse files Browse the repository at this point in the history
sbt is no longer present on the Ubuntu runners.

actions/setup-java#712 (comment)
  • Loading branch information
cb372 authored Jan 6, 2025
1 parent f552fe1 commit b114c0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
distribution: 'temurin'
java-version: '17'
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Test
run: sbt -J-Xms4G -J-Xmx4G +test
bincompat:
Expand All @@ -25,6 +26,7 @@ jobs:
distribution: 'temurin'
java-version: '17'
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Check binary compatibility
run: sbt -J-Xms4G -J-Xmx4G +mimaReportBinaryIssues
docs:
Expand All @@ -36,6 +38,7 @@ jobs:
distribution: 'temurin'
java-version: '17'
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Compile documentation
run: sbt -J-Xms4G -J-Xmx4G docs/mdoc
format:
Expand All @@ -47,5 +50,6 @@ jobs:
distribution: 'temurin'
java-version: '17'
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Check formatting
run: sbt -J-Xms4G -J-Xmx4G scalafmtCheckAll scalafmtSbtCheck
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
distribution: 'temurin'
java-version: '17'
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Publish
run: sbt +test ci-release
env:
Expand All @@ -33,6 +34,7 @@ jobs:
distribution: 'temurin'
java-version: '17'
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
Expand Down

0 comments on commit b114c0c

Please sign in to comment.