Skip to content

add sbt/setup-sbt action #547

add sbt/setup-sbt action

add sbt/setup-sbt action #547

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
java: [8, 11, 17]
scala: [2.12.x, 2.13.x, 3.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{matrix.java}}
cache: sbt
- uses: sbt/setup-sbt@v1
- name: Test
run: sbt ++${{matrix.scala}} test headerCheck versionPolicyCheck package