From 61deab369ba7b6818c6f109b4ab388437d28d4b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Gonz=C3=A1lez?= Date: Sun, 28 Jul 2024 16:11:36 +0200 Subject: [PATCH] Fix Clippy lints not causing CI workflow failure It's easy to miss them out if CI is not aborted on a Clippy lint, and this behavior change was an unintended regression when CodeQL integration was added, so let's change it back. --- .github/workflows/oxipng.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/oxipng.yml b/.github/workflows/oxipng.yml index 4f20302d..72626c99 100644 --- a/.github/workflows/oxipng.yml +++ b/.github/workflows/oxipng.yml @@ -125,6 +125,7 @@ jobs: - name: Run Clippy for all feature combinations if: matrix.target == 'x86_64-unknown-linux-gnu' run: > + set -o pipefail; cargo hack clippy --no-deps --all-targets --feature-powerset --exclude-features sanity-checks --message-format=json -- -D warnings | clippy-sarif | tee clippy-results.sarif