Skip to content

Commit

Permalink
use setup-java instead of deprecated olafurpg/setup-scala (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Oct 25, 2023
1 parent 322da0c commit 5aff39a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: coursier/cache-action@v5
- uses: olafurpg/setup-scala@v10
- uses: actions/setup-java@v3
with:
java-version: [email protected]
java-version: 11
distribution: adopt
cache: 'sbt'
- name: Run tests
run: sbt scripted versionPolicyCheck

Expand All @@ -34,11 +35,11 @@ jobs:
with:
fetch-depth: 0

- uses: coursier/cache-action@v5

- uses: olafurpg/setup-scala@v10
- uses: actions/setup-java@v3
with:
java-version: [email protected]
java-version: 11
distribution: adopt
cache: 'sbt'

- uses: olafurpg/setup-gpg@v3

Expand Down

0 comments on commit 5aff39a

Please sign in to comment.