Skip to content

Commit

Permalink
Merge pull request #62 from mzuehlke/setup-sbt
Browse files Browse the repository at this point in the history
Use `sbt/setup-sbt` action to install sbt
  • Loading branch information
tgodzik authored Jan 17, 2025
2 parents ff2c636 + 0247223 commit e2afdbd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
distribution: temurin
java-version: "${{ matrix.java }}"
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt +testsJVM/test
js:
runs-on: ubuntu-latest
Expand All @@ -28,6 +29,7 @@ jobs:
distribution: temurin
java-version: 8
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt +testsJS/test
jsdom:
runs-on: ubuntu-latest
Expand All @@ -38,6 +40,7 @@ jobs:
distribution: temurin
java-version: 8
cache: sbt
- uses: sbt/setup-sbt@v1
- run: npm install
- run: sbt +testsJS/test
native:
Expand All @@ -49,6 +52,7 @@ jobs:
distribution: temurin
java-version: 8
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt +testsNative/test
windows:
runs-on: windows-latest
Expand All @@ -59,6 +63,7 @@ jobs:
distribution: temurin
java-version: 8
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt +testsJVM/test
shell: bash
mima:
Expand All @@ -70,6 +75,7 @@ jobs:
distribution: temurin
java-version: 8
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt mimaReportBinaryIssues
scalafmt:
runs-on: ubuntu-latest
Expand All @@ -91,4 +97,5 @@ jobs:
distribution: temurin
java-version: 11
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt scalafixCheckAll
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: sbt
- run: git fetch --unshallow
- uses: sbt/setup-sbt@v1
- name: Publish ${{ github.ref }}
run: |
sbt ci-release
Expand Down

0 comments on commit e2afdbd

Please sign in to comment.