Skip to content

Commit

Permalink
Update CI workflow: drop Java 8, add 21
Browse files Browse the repository at this point in the history
  • Loading branch information
sirthias committed Jan 5, 2024
1 parent 0efa448 commit bea5427
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ jobs:
- name: Cache scala dependencies
uses: coursier/cache-action@v6
- name: Lint code
run: sbt ++3.3.0 check
run: sbt ++3.3.1 check

test:
runs-on: ubuntu-20.04
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
java: ['8', '11', '17']
scala: ['3.3.0']
java: ['11', '17', '21']
scala: ['3.3.1']
platform: ['JVM', 'JS']
steps:
- name: Checkout current branch
Expand All @@ -55,10 +55,7 @@ jobs:
- name: Cache scala dependencies
uses: coursier/cache-action@v6
- name: Run tests
if: ${{ !startsWith(matrix.scala, '3.') }}
run: sbt ++${{ matrix.scala }}! test${{ matrix.platform }}
- name: Run dotty tests
if: ${{ startsWith(matrix.scala, '3.') && matrix.platform == 'JVM' }}
if: ${{ matrix.platform == 'JVM' }}
run: sbt ++${{ matrix.scala }}! testJVM

ci:
Expand Down

0 comments on commit bea5427

Please sign in to comment.