ci: Enable clippy/audit jobs
And run audit after clippy, to avoid a useless install if clippy fails
This commit is contained in:
parent
bfd8259ad2
commit
51d1b13a9c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue