From 48b63ee5b72eca0a0b7bea25f467861b4f766804 Mon Sep 17 00:00:00 2001 From: Jim Turner Date: Thu, 18 Feb 2021 13:45:42 -0500 Subject: [PATCH] Treat warnings as errors in CI This helps avoid accidentally missing a warning. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92c184ca8..42e5e6584 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,7 @@ env: CARGO_TERM_COLOR: always HOST: x86_64-unknown-linux-gnu FEATURES: "test docs" + RUSTFLAGS: "-D warnings" jobs: tests: