From 59389d927212f42841c6c30e67a3874c4809c2af Mon Sep 17 00:00:00 2001 From: teernisse Date: Thu, 12 Feb 2026 16:14:01 -0500 Subject: [PATCH] CI: gate lint stage on clippy --all-targets -D warnings Previously the lint job ran fmt --check and clippy separately without the -D warnings flag, allowing clippy warnings to pass silently. Now clippy runs with --all-targets (catches issues in tests and benches) and -D warnings (treats all warnings as errors). --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 53bf2c3..bc99989 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,7 +43,7 @@ lint: script: - rustup component add rustfmt clippy - cargo fmt --check - - cargo clippy -- -D warnings + - cargo clippy --all-targets -- -D warnings rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_COMMIT_BRANCH