Update scalajs-dom to 2.8.0 #388
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, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 100 | |
- name: Fetch tags | |
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/* | |
- name: Setup Scala | |
uses: olafurpg/setup-scala@v13 | |
- name: Checking your code format | |
run: sbt +scalafmtCheck | |
- name: Cache dependencies | |
uses: actions/cache@v3.0.1 | |
with: | |
path: ~/.cache/coursier/v1 | |
key: ${{ runner.os }}-coursier-${{ hashFiles('build.sbt') }}-${{ hashFiles('project/*.scala') }} | |
restore-keys: ${{ runner.os }}-coursier- | |
- name: Cache .sbt | |
uses: actions/cache@v3.0.1 | |
with: | |
path: ~/.sbt | |
key: ${{ runner.os }}-sbt-${{ hashFiles('build.sbt') }}-${{ hashFiles('project/*.scala') }} | |
restore-keys: ${{ runner.os }}-sbt- | |
- name: Run tests | |
run: | | |
sbt +test |