mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-13 10:15:33 +00:00
39 lines
841 B
YAML
39 lines
841 B
YAML
name: "test"
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
name: "sbt test"
|
|
runs-on: "ubuntu-latest"
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
### Setup
|
|
- name: Cache SBT
|
|
uses: actions/cache@v2
|
|
with:
|
|
path: |
|
|
~/.ivy2/cache
|
|
~/.sbt
|
|
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
|
|
|
|
- name: Cache coursier
|
|
uses: actions/cache@v1
|
|
with:
|
|
path: ~/.cache/coursier
|
|
key: ${{ runner.OS }}-coursier-cache-${{ hashFiles('**/*.sbt') }}
|
|
restore-keys: |
|
|
${{ runner.OS }}-coursier-cache-${{ hashFiles('**/*.sbt') }}-
|
|
${{ runner.OS }}-coursier-cache-
|
|
|
|
- uses: olafurpg/setup-scala@v10
|
|
|
|
### Update & build
|
|
- run: sbt test
|