ci: Enable clippy/audit jobs

And run audit after clippy, to avoid a useless install if clippy
fails
This commit is contained in:
Bilal Elmoussaoui 2024-08-09 15:19:31 +02:00 committed by Sandro Bonazzola
parent bfd8259ad2
commit 51d1b13a9c

View File

@ -11,10 +11,6 @@ tests:
script:
- cargo build --release
- cargo fmt --all -- --check
# Audit fails, reported: https://gitlab.com/CentOS/automotive/src/cvd2img/-/issues/3
# TODO: re-enable once fixed
# - cargo install cargo-audit
# - cargo audit
# Clippy fails, reported: https://gitlab.com/CentOS/automotive/src/cvd2img/-/issues/2
# TODO: re-enable once fixed
# - cargo clippy -- -D warnings
- cargo clippy -- -D warnings
- cargo install cargo-audit
- cargo audit