From e2364ef5931ead6ca89d844399324d64b7a054af Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 31 Dec 2021 22:22:30 -0800 Subject: [PATCH] Detect warnings in CI --- .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 88410e3..c0bfc81 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,9 @@ on: pull_request: schedule: [cron: "40 1 * * *"] +env: + RUSTFLAGS: '-Dwarnings' + jobs: test: name: Rust ${{matrix.rust}} @@ -37,7 +40,7 @@ jobs: components: miri - run: cargo miri test env: - MIRIFLAGS: "-Zmiri-tag-raw-pointers" + MIRIFLAGS: '-Zmiri-tag-raw-pointers' clippy: name: Clippy