From 605b3c4f2b44f4e270815f1cc961468a6f8af31e Mon Sep 17 00:00:00 2001 From: rami3l Date: Thu, 20 Jun 2024 15:13:11 +0800 Subject: [PATCH] ci(all-features): add `-D warnings` to `cargo check-all-features` --- .github/workflows/ci.yaml | 2 ++ ci/actions-templates/all-features-template.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ef645a1b26..95b91ee945 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1316,6 +1316,8 @@ jobs: run: | rustup target install "$TARGET" - name: Build every combination + env: + RUSTFLAGS: -D warnings run: | cargo check-all-features --root-only diff --git a/ci/actions-templates/all-features-template.yaml b/ci/actions-templates/all-features-template.yaml index 3bfaa054f3..d16fb25bb3 100644 --- a/ci/actions-templates/all-features-template.yaml +++ b/ci/actions-templates/all-features-template.yaml @@ -38,5 +38,7 @@ jobs: # skip-all run: | rustup target install "$TARGET" - name: Build every combination + env: + RUSTFLAGS: -D warnings run: | cargo check-all-features --root-only