replace setup-java with coursier/setup-action #27
Workflow file for this run
This file contains 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: build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Restore cache | |
uses: coursier/cache-action@v6 | |
- name: Setup Java & Scala | |
uses: coursier/setup-action@v1 | |
with: | |
jvm: 11 | |
- name: Run tests | |
run: sbt test scripted |