Skip to content

Commit fc2bfa1

Browse files
committed
ci: do not let shell pipeline mask the linter exit status code
1 parent 6d93ba4 commit fc2bfa1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
- name: Run linter for all feature combinations
7979
if: matrix.conf == 'nightly'
8080
run: >
81+
set -o pipefail;
8182
cargo hack clippy --no-deps --all-targets --feature-powerset --message-format=json -- -D warnings
8283
| clippy-sarif
8384
| tee clippy-results.sarif

0 commit comments

Comments
 (0)