Merge pull request #220 from laserdisc-io/upgrades #2
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: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Java And Sbt | |
uses: olafurpg/setup-scala@v14 | |
with: | |
java-version: [email protected] | |
- name: Cache SBT | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/coursier/v1 | |
~/.sbt | |
key: sbt-${{ hashFiles('**/build.sbt') }} | |
- name: Run tests | |
run: sbt build | |