Skip to content

Merge pull request #183 from scala/add-java-21-to-build-matrix #44

Merge pull request #183 from scala/add-java-21-to-build-matrix

Merge pull request #183 from scala/add-java-21-to-build-matrix #44

Workflow file for this run

name: test
on:
push:
branches:
- main
- work
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
java: [8, 11, 17, 21]
scala: [2.11.x, 2.12.x, 2.13.x, 3.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: actions/setup-java@v2
with:
distribution: temurin
java-version: ${{matrix.java}}
- name: Test
run: sbt ++${{matrix.scala}} "all Test/compile examples/Test/compile uitest/Test/compile" test package