|
|
|
@ -19,9 +19,7 @@ jobs:
|
|
|
|
|
uses: actions/cache@v2
|
|
|
|
|
with:
|
|
|
|
|
path: |
|
|
|
|
|
target/**/build
|
|
|
|
|
target/**/deps
|
|
|
|
|
target/**/incremental
|
|
|
|
|
target
|
|
|
|
|
~/.cargo/
|
|
|
|
|
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
|
|
|
|
|
restore-keys: |
|
|
|
|
@ -30,6 +28,10 @@ jobs:
|
|
|
|
|
run: cargo build --verbose
|
|
|
|
|
- name: Run tests
|
|
|
|
|
run: cargo test --verbose
|
|
|
|
|
- name: Run audit
|
|
|
|
|
uses: actions-rs/audit-check@v1
|
|
|
|
|
with:
|
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
build-release:
|
|
|
|
|