Skip to content

Commit

Permalink
move away from deprecated olafurpg/setup-scala
Browse files Browse the repository at this point in the history
  • Loading branch information
bjaglin committed May 16, 2023
1 parent f97118d commit 34bf3d0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,51 +17,53 @@ jobs:
- "ci-3"
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v14
- uses: coursier/setup-action@v1
with:
jvm: temurin:8
- run: sbt ${{ matrix.command }}
jdk11_212:
name: JDK11/scala_2.12 tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v14
- uses: coursier/setup-action@v1
with:
java-version: adopt@1.11
jvm: temurin:11
- run: sbt ci-212
jdk11_213:
name: JDK11/scala_2.13 tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v14
- uses: coursier/setup-action@v1
with:
java-version: adopt@1.11
jvm: temurin:11
- run: sbt ci-213

jdk17_213:
name: JDK17/scala_2.13 tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v14
- uses: coursier/setup-action@v1
with:
java-version: 17
jvm: temurin:17
- run: sbt ci-213

windows_213:
name: Windows/scala_2.13 tests
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v14
- uses: coursier/setup-action@v1
- run: sbt ci-213-windows
shell: bash
checks:
name: Scalafmt and Scalafix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: olafurpg/setup-scala@v14
- uses: coursier/setup-action@v1
- run: sbt "scalafixAll --check"
- run: ./bin/scalafmt --test
mima:
Expand All @@ -71,5 +73,5 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v14
- uses: coursier/setup-action@v1
- run: sbt versionPolicyCheck
2 changes: 1 addition & 1 deletion .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v14
- uses: coursier/setup-action@v1
- name: Publish ${{ github.ref }}
run: sbt docs2_13/docusaurusPublishGhpages
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v14
- uses: coursier/setup-action@v1
- uses: olafurpg/setup-gpg@v3
- name: Check that major or minor was bumped upon compatibility breakage
if: startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit 34bf3d0

Please sign in to comment.