Skip to content

Commit

Permalink
ci: Set pipefail to avoid swallowing error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniusnaumann committed Sep 7, 2024
1 parent d52ae49 commit caeed23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: olix0r/cargo-action-fmt/setup@v2
- name: Check
run: cargo check -q --message-format=json | cargo-action-fmt
run: set -o pipefail && cargo check -q --message-format=json | cargo-action-fmt
- name: Build
run: cargo build
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- uses: actions/checkout@v4
- uses: olix0r/cargo-action-fmt/setup@v2
- name: Clippy
run: cargo clippy -q -- -D warnings --message-format=json | cargo-action-fmt
run: set -o pipefail && cargo clippy -q -- -D warnings --message-format=json | cargo-action-fmt

0 comments on commit caeed23

Please sign in to comment.