From 51d1b13a9c0017f7a98a1253250c6753ede62542 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Fri, 9 Aug 2024 15:19:31 +0200 Subject: [PATCH] ci: Enable clippy/audit jobs And run audit after clippy, to avoid a useless install if clippy fails --- .gitlab-ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f3805f..ea48e29 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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