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