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