Skip to content

Commit

Permalink
chore: add make security-audit to audit crates with security vulner…
Browse files Browse the repository at this point in the history
…abilities (#38)
  • Loading branch information
rainchen authored and doitian committed Nov 28, 2018
1 parent 4c2c173 commit 1ca3090
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ stats:
@cargo count --version || cargo +nightly install --git https://github.com/kbknapp/cargo-count
@cargo count --separator , --unsafe-statistics

# Use cargo-audit to audit Cargo.lock for crates with security vulnerabilities
# expecting to see "Success No vulnerable packages found"
security-audit:
@cargo audit --version || cargo install cargo-audit
@cargo audit

.PHONY: build build-integration-test
.PHONY: fmt test clippy proto doc doc-deps check stats
.PHONY: ci ci-quick info
.PHONY: ci ci-quick info security-audit

0 comments on commit 1ca3090

Please sign in to comment.