Run cargo-audit on CI.
This commit is contained in:
parent
e7e4d04244
commit
7a68839562
@ -1,8 +1,12 @@
|
||||
language: "rust"
|
||||
cache: "cargo"
|
||||
before_script:
|
||||
- "rustup component add rustfmt"
|
||||
- "rustup component add clippy"
|
||||
- "cargo install --force cargo-audit"
|
||||
- "cargo generate-lockfile"
|
||||
script:
|
||||
- "cargo audit"
|
||||
- "cargo fmt --all -- --check"
|
||||
- "cargo clippy --all-targets --all-features -- -D warnings"
|
||||
- "cargo build --verbose"
|
||||
|
Loading…
x
Reference in New Issue
Block a user