Merge pull request #771 from scala-steward/update/sbt-1.11.4 #609
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [8, 11, 17, 21] | |
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 |