Avoid rewriting cache without changes #181
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: tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
components: clippy | |
override: true | |
- name: Install dependencies | |
run: sudo apt-get install -y libsqlite3-dev | |
- name: Build tests | |
run: cargo test --verbose --no-run | |
- name: Run tests | |
run: cargo test --verbose --no-fail-fast -- --test-threads=1 |