Skip to content

Merge pull request #203 from laserdisc-io/upgrades #266

Merge pull request #203 from laserdisc-io/upgrades

Merge pull request #203 from laserdisc-io/upgrades #266

Workflow file for this run

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