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.
This commit is contained in:
parent
d30da6e8a0
commit
61deab369b
1 changed files with 1 additions and 0 deletions
1
.github/workflows/oxipng.yml
vendored
1
.github/workflows/oxipng.yml
vendored
|
|
@ -125,6 +125,7 @@ jobs:
|
||||||
- name: Run Clippy for all feature combinations
|
- name: Run Clippy for all feature combinations
|
||||||
if: matrix.target == 'x86_64-unknown-linux-gnu'
|
if: matrix.target == 'x86_64-unknown-linux-gnu'
|
||||||
run: >
|
run: >
|
||||||
|
set -o pipefail;
|
||||||
cargo hack clippy --no-deps --all-targets --feature-powerset --exclude-features sanity-checks --message-format=json -- -D warnings
|
cargo hack clippy --no-deps --all-targets --feature-powerset --exclude-features sanity-checks --message-format=json -- -D warnings
|
||||||
| clippy-sarif
|
| clippy-sarif
|
||||||
| tee clippy-results.sarif
|
| tee clippy-results.sarif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue