cache cargo hack

This commit is contained in:
Rob Ede 2021-09-01 21:19:21 +01:00
parent 5c815778f4
commit 3e41c5aacd
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 7 additions and 1 deletions

View File

@ -2,4 +2,4 @@
chk = "check --workspace --all-features --tests --examples --bins"
lint = "clippy --workspace --all-features --tests --examples --bins -- -Dclippy::todo"
ci-test = "test --workspace --all-features --lib --tests --no-fail-fast -- --nocapture"
ci-doctest = "hack test --workspace --all-features --doc --no-fail-fast -- --nocapture"
ci-doctest = "test --workspace --all-features --doc --no-fail-fast -- --nocapture"

View File

@ -142,6 +142,12 @@ jobs:
profile: minimal
override: true
- name: Generate Cargo.lock
uses: actions-rs/cargo@v1
with: { command: generate-lockfile }
- name: Cache Dependencies
uses: Swatinem/rust-cache@v1.3.0
- name: Install cargo-hack
uses: actions-rs/cargo@v1
with: