From d7ae30574c1a112df09103b7954daa94cbc9c65c Mon Sep 17 00:00:00 2001 From: Andrew Brower Date: Sat, 2 Nov 2024 22:24:15 -0400 Subject: [PATCH] fix(ci): fail on any clippy warning --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b05cd46..bc42a0f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,9 @@ on: required: false type: string +env: + RUSTFLAGS: "-Dwarnings" + jobs: clippy: runs-on: ubuntu-latest @@ -25,7 +28,7 @@ jobs: - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main - name: Run clippy - run: nix develop --command cargo clippy + run: nix develop --command cargo clippy --all-targets --all-features build_release: needs: clippy -- 2.51.2