scala 3 support #174
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: CI | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Test | |
strategy: | |
matrix: | |
scala: | |
- 2.13.11 | |
- 3.3.0 | |
java: | |
- [email protected] | |
- [email protected] | |
os: | |
- ubuntu-22.04 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Branch Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Install Java And Sbt | |
uses: olafurpg/setup-scala@v13 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
$HOME/.cache/coursier | |
$HOME/.ivy2/cache | |
$HOME/.sbt/boot/ | |
$HOME/.sbt | |
lib_managed | |
target | |
project/target | |
key: ${{ runner.os }}-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- name: Test (${{ matrix.scala }}, ${{ matrix.java }}) | |
run: sbt ++${{ matrix.scala }} fullTest | |
- name: Upload To Codecov | |
uses: codecov/codecov-action@v2 | |