Skip to content

Update checkout and setup-java github actions to v4 (#300) #131

Update checkout and setup-java github actions to v4 (#300)

Update checkout and setup-java github actions to v4 (#300) #131

Workflow file for this run

name: test
on:
push:
branches:
- main
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@v4
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{matrix.java}}
- name: Test
run: sbt ++${{matrix.scala}} test headerCheck versionPolicyCheck publishLocal