Skip to content

Commit

Permalink
update github workflows:
Browse files Browse the repository at this point in the history
* olafurpg/setup got deprecated in v14
  * replaced by actions/setup-java@v3
  * enabled sbt caching
* olafurpg/setup-gpg is no longer required since sbt-ci-release v1.5.5
  • Loading branch information
mzuehlke committed Feb 27, 2023
1 parent 012dfc6 commit 2d6ccea
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 8
java-version: adopt
distribution: adopt
java-version: 8
cache: sbt
- run: sbt +testsJS/test
env:
Expand All @@ -46,8 +46,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 8
java-version: adopt
distribution: adopt
java-version: 8
cache: sbt
- run: npm install
- run: sbt +testsJS/test
Expand All @@ -62,8 +62,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 8
java-version: adopt
distribution: adopt
java-version: 8
cache: sbt
- run: sbt +testsNative/test
env:
Expand All @@ -77,8 +77,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 8
java-version: adopt
distribution: adopt
java-version: 8
cache: sbt
- run: sbt +testsJVM/test
shell: bash
Expand All @@ -93,8 +93,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 8
java-version: adopt
distribution: adopt
java-version: 8
cache: sbt
- run: sbt mimaReportBinaryIssues
scalafmt:
Expand All @@ -103,8 +103,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 8
java-version: adopt
distribution: adopt
java-version: 8
cache: sbt
- run: ./bin/scalafmt --check
docs:
Expand All @@ -114,8 +114,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 8
java-version: adopt
distribution: adopt
java-version: 8
cache: sbt
- run: sbt scalafixCheckAll
- run: sbt docs/docusaurusCreateSite
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 8
java-version: adopt
distribution: adopt
java-version: 8
cache: sbt
- run: git fetch --unshallow
- name: Publish ${{ github.ref }}
Expand Down

0 comments on commit 2d6ccea

Please sign in to comment.