Merge pull request #242 from MartinHH/fix/#241 #35
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: Continuous Integration | |
on: | |
pull_request: | |
branches: ['*'] | |
push: | |
branches: ['*'] | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout current branch (full) | |
uses: actions/checkout@v2 | |
- name: Setup Java and Scala | |
uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: adopt@1.8 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 12 | |
- name: Cache sbt | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.sbt | |
~/.ivy2/cache | |
~/.coursier/cache/v1 | |
~/.cache/coursier/v1 | |
~/AppData/Local/Coursier/Cache/v1 | |
~/Library/Caches/Coursier/v1 | |
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- name: Install Scala Native < 0.4.0 dependencies | |
run: | | |
sudo apt-get install libunwind-dev libre2-dev libgc-dev | |
- name: Build project | |
run: sbt +test |