diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8edd1c05e..57c8766ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,8 +36,11 @@ jobs: target key: ${{ runner.os }}-cargo-lint-${{ hashFiles('**/Cargo.lock') }} - - name: Run clippy (fail fast on errors) - run: cargo clippy --workspace --all-features -- -D errors + - name: Check formatting (rustfmt) + run: cargo fmt --all -- --check + + - name: Run clippy (deny warnings) + run: cargo clippy --workspace --all-features -- -D warnings test: name: Test (${{ matrix.os }})