Skip to content

standardize sbt-ci-release setup #152

standardize sbt-ci-release setup

standardize sbt-ci-release setup #152

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
jobs:
test:
name: test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
scala:
- 2.12.18
- 2.12.19
- 2.13.11
- 2.13.12
- 2.13.13
java: [8, 11, 17, 21]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK ${{matrix.java}}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{matrix.java}}
- name: Cache Coursier cache
uses: coursier/cache-action@v6
- name: Test on JDK ${{matrix.java}}, Scala ${{matrix.scala}}
run: sbt ++${{matrix.scala}} test