diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68645cf..1bac267 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 60812fc..2d3ff27 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -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 --message-format=json -- -D warnings | cargo-action-fmt