Add cargo audit to CI (#1192)

This commit is contained in:
Mehdi Zerouali
2020-05-26 17:04:39 +10:00
committed by GitHub
parent f72094ca8d
commit d41a9f7aa6
2 changed files with 12 additions and 0 deletions

View File

@@ -67,6 +67,11 @@ make-ef-tests:
arbitrary-fuzz:
cargo check --manifest-path=consensus/state_processing/Cargo.toml --features arbitrary-fuzz
# Runs cargo audit (Audit Cargo.lock files for crates with security vulnerabilities reported to the RustSec Advisory Database)
audit:
cargo install --force cargo-audit
cargo audit
# Performs a `cargo` clean and cleans the `ef_tests` directory.
clean:
cargo clean