From 635ba1465d235c4b32a8fb8edaae3520b44fa0cb Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 5 Feb 2021 23:01:06 -0800 Subject: [PATCH] Don't fail on cargo audit since v1.4 is about to be EOL --- ci/test-checks.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ci/test-checks.sh b/ci/test-checks.sh index fa88373125..be3df6d932 100755 --- a/ci/test-checks.sh +++ b/ci/test-checks.sh @@ -86,12 +86,19 @@ cargo_audit_ignores=( # Blocked on predicates v1.0.6 removing its dependency on `difference` --ignore RUSTSEC-2020-0095 + # hyper is upgraded on master/v1.6 but not for v1.4 + --ignore RUSTSEC-2021-0020 + + # `net2` crate has been deprecated; use `socket2` instead + --ignore RUSTSEC-2020-0516 ) + _ scripts/cargo-for-all-lock-files.sh +"$rust_stable" audit "${cargo_audit_ignores[@]}" { cd programs/bpf - _ "$cargo" stable audit + _ "$cargo" stable audit "${cargo_audit_ignores[@]}" + for project in rust/*/ ; do echo "+++ do_bpf_checks $project" (