From c9cb84d6c0ebffdffd364a463a797dcda09aa54a Mon Sep 17 00:00:00 2001 From: Oscar Pepper Date: Thu, 12 Oct 2023 15:23:43 +0100 Subject: [PATCH] added rustflag to cargo checkmate to fail on warnings --- .github/workflows/cargo-checkmate.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cargo-checkmate.yaml b/.github/workflows/cargo-checkmate.yaml index f4f0bba63..0b4873034 100644 --- a/.github/workflows/cargo-checkmate.yaml +++ b/.github/workflows/cargo-checkmate.yaml @@ -18,6 +18,8 @@ jobs: phase: [build, check, clippy, doc, format] needs: cache-checkmate runs-on: ubuntu-22.04 + env: + RUSTFLAGS: -D warnings steps: - uses: taiki-e/cache-cargo-install-action@v1 with: