Merge branch 'nora/deny' into 'main'
ci: Cache the cargo-deny binary See merge request openpgp-card/openpgp-card!22
This commit is contained in:
commit
9314a1bb1f
1 changed files with 8 additions and 2 deletions
|
@ -49,11 +49,17 @@ cargo-deny:
|
|||
stage: lint
|
||||
image: rust:latest
|
||||
before_script:
|
||||
- cargo install --locked cargo-deny
|
||||
# The cargo deny binary is cached, so installing it errors if it was
|
||||
# restored from cache. Ignore that error.
|
||||
# Clear the cache to force a rebuild.
|
||||
- cargo install --locked cargo-deny || true
|
||||
- *report-rust
|
||||
script:
|
||||
- cargo deny check
|
||||
cache: [ ]
|
||||
cache:
|
||||
paths:
|
||||
- cargo/bin/cargo-deny
|
||||
key: "deny"
|
||||
|
||||
cargo-clippy:
|
||||
stage: lint
|
||||
|
|
Loading…
Reference in a new issue