Merge pull request #136 from scala-steward/update/sbt-scalajs-1.17.0 #52
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: Branch CI | |
on: | |
push: | |
branches-ignore: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
steps: | |
- name: Cache SBT ivy cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/.ivy2/cache | |
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('build.sbt') }} | |
- name: Cache SBT | |
uses: actions/cache@v2 | |
with: | |
path: ~/.sbt | |
key: ${{ runner.os }}-sbt-${{ hashFiles('build.sbt') }} | |
- name: Cache Coursier | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache | |
key: ${{ runner.os }}-coursier-${{ hashFiles('build.sbt') }} | |
- name: Cache .jabba | |
uses: actions/cache@v2 | |
with: | |
path: ~/.jabba | |
key: ${{ runner.os }}-jabba-${{ hashFiles('build.sbt') }} | |
- uses: actions/checkout@v2 | |
- name: Compile and test | |
run: | | |
sbt \ | |
compile \ | |
test |