Skip to content

Merge pull request #316 from tototoshi/move-default-instance-to-compa… #615

Merge pull request #316 from tototoshi/move-default-instance-to-compa…

Merge pull request #316 from tototoshi/move-default-instance-to-compa… #615

Workflow file for this run

name: CI
on:
pull_request:
push:
schedule:
- cron: '0 3 * * 2'
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
include:
- java: 8
- java: 21
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
java-version: ${{matrix.java}}
distribution: adopt
- uses: coursier/cache-action@v6
- run: |
set -eux
case "${{ matrix.java }}" in
21)
sbt -v '++ 2.12.x' test '++ 2.13.x' test '++ 3.x' test
;;
*)
sbt -v "+ Test/compile" checkScalariform "+ test"
esac