Skip to content

.github/workflows/ci.yml #2196

.github/workflows/ci.yml

.github/workflows/ci.yml #2196

Workflow file for this run

name: ci
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
include:
- java: 8
os: ubuntu-latest
- java: 8
os: macos-latest
- java: 11
os: ubuntu-latest
- java: 17
os: ubuntu-latest
steps:
- uses: actions/setup-java@v3
with:
java-version: ${{matrix.java}}
distribution: temurin
- uses: actions/checkout@v4
- shell: bash
name: install sbt
run: curl -Ls https://raw.githubusercontent.com/dwijnand/sbt-extras/aff36a23f7213d94189aabfcc47a32b11f3a6fba/sbt > ./sbt && chmod 0755 ./sbt
- uses: coursier/cache-action@v6
- run: |
case ${{ matrix.java}} in
17)
./sbt -v test
;;
*)
./sbt -v ";+check ;+cpl ;+test"
esac