mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2024-11-22 21:05:16 +00:00
Create cargo-audit file
This commit is contained in:
parent
5b0d0009a4
commit
cf59aa1c0f
2
.cargo/audit.toml
Normal file
2
.cargo/audit.toml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[advisories]
|
||||||
|
ignore = ["RUSTSEC-2020-0095"]
|
4
Makefile
4
Makefile
@ -25,14 +25,14 @@ test:
|
|||||||
nix-shell --pure --run 'cargo check --all-features $(ci_color_always)'
|
nix-shell --pure --run 'cargo check --all-features $(ci_color_always)'
|
||||||
nix-shell --pure --run 'cargo clippy --all-features $(ci_color_always) -- --deny warnings --deny clippy::all'
|
nix-shell --pure --run 'cargo clippy --all-features $(ci_color_always) -- --deny warnings --deny clippy::all'
|
||||||
nix-shell --pure --run 'cargo test --all-features --no-fail-fast $(ci_color_always)'
|
nix-shell --pure --run 'cargo test --all-features --no-fail-fast $(ci_color_always)'
|
||||||
nix-shell --pure --run 'cargo audit --deny warnings $(ci_color_always) --ignore=RUSTSEC-2020-0095'
|
nix-shell --pure --run 'cargo audit --deny warnings $(ci_color_always)'
|
||||||
else
|
else
|
||||||
test:
|
test:
|
||||||
cargo fmt -- --check --files-with-diff $(ci_color_always)
|
cargo fmt -- --check --files-with-diff $(ci_color_always)
|
||||||
cargo check --all-features $(ci_color_always)
|
cargo check --all-features $(ci_color_always)
|
||||||
cargo clippy --all-features $(ci_color_always) -- --deny warnings --deny clippy::all
|
cargo clippy --all-features $(ci_color_always) -- --deny warnings --deny clippy::all
|
||||||
cargo test --no-fail-fast $(ci_color_always)
|
cargo test --no-fail-fast $(ci_color_always)
|
||||||
cargo audit --deny warnings $(ci_color_always) --ignore=RUSTSEC-2020-0095
|
cargo audit --deny warnings $(ci_color_always)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
|
Loading…
Reference in New Issue
Block a user