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
1 changed files with 3 additions and 7 deletions

View File

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