ci: fix do-audit don't report error (#30728)
* ci: fix do-audit don't retport error * Update ci/do-audit.sh Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com> * use the latest suggestion * lint * redirect stderr to stdout * another solution --------- Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
This commit is contained in:
parent
fce949009d
commit
f8abc8df8d
|
@ -30,3 +30,5 @@ cargo_audit_ignores=(
|
|||
--ignore RUSTSEC-2023-0001
|
||||
)
|
||||
scripts/cargo-for-all-lock-files.sh audit "${cargo_audit_ignores[@]}" | $dep_tree_filter
|
||||
# we want the `cargo audit` exit code, not `$dep_tree_filter`'s
|
||||
exit "${PIPESTATUS[0]}"
|
||||
|
|
|
@ -125,4 +125,4 @@ fi
|
|||
|
||||
set -x
|
||||
# shellcheck disable=SC2086
|
||||
exec docker run "${ARGS[@]}" $CODECOV_ENVS "$IMAGE" "$@"
|
||||
exec docker run "${ARGS[@]}" $CODECOV_ENVS -t "$IMAGE" "$@"
|
||||
|
|
Loading…
Reference in New Issue