Skip to content

repeat works

repeat works #408

Workflow file for this run

name: Dahlia tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Tool versions
id: versions
run: |
echo "::set-output name=runt::$(grep ver runt.toml | awk '{print $3}' | tr -d '"')"
# Don't rebuild Dahlia if HEAD hash hasn't changed.
- name: Cache Dahlia
id: dahlia-cache
uses: actions/cache@v2
with:
path: |
./target
~/.sbt
~/.ivy/cache
key: dahlia-sources-${{ runner.os }}-${{ hashFiles( '**/build.sbt' ) }}
- name: Run SBT tests
run: |
sbt "; getHeaders; assembly; test"
- name: Cache runt
id: runt-cache
uses: actions/cache@v2
with:
path: ~/.cargo/bin/runt
key: runt-bin-${{ runner.os }}-${{ steps.versions.outputs.runt }}
- name: Install runt
if: steps.runt-cache.outputs.cache-hit != 'true'
uses: actions-rs/cargo@v1
with:
command: install
args: runt --version ${{ steps.versions.outputs.runt }}
- name: Runt tests
run: |
unset JAVA_TOOL_OPTIONS
runt -d -o fail