From 6ac3a44e883a5dc1fcde15ab331d0e8fea27efb1 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Fri, 4 Feb 2022 08:57:39 -0700 Subject: [PATCH] Cause tests to fail on CI when there are warnings Co-Authored-By: Antonio Scandurra --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd92792714..cfaf778375 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,8 @@ jobs: tests: name: Run tests runs-on: self-hosted + env: + RUSTFLAGS: -D warnings steps: - name: Install Rust uses: actions-rs/toolchain@v1