Skip to content

Commit

Permalink
Merge pull request #121 from xuwei-k/patch-1
Browse files Browse the repository at this point in the history
use setup-java instead of deprecated olafurpg/setup-scala
  • Loading branch information
bjaglin authored Oct 25, 2023
2 parents e09a286 + 8b45f65 commit 25f9208
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v10
- uses: actions/setup-java@v3
with:
java-version: 8
distribution: temurin
- run: ./scalafmt --test
template-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v10
- uses: actions/setup-java@v3
with:
java-version: 8
distribution: temurin
- run: sbt test
migration-rules:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v10
- uses: actions/setup-java@v3
with:
java-version: 8
distribution: temurin
- run: ls -1 migration-rules | xargs -I{} sh -c 'cd migration-rules/{} && sbt test'

0 comments on commit 25f9208

Please sign in to comment.