From 9ee8ddb6b6a7f0bde5d25c703d4a4dd1d31b4008 Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Thu, 29 Apr 2021 04:02:16 +0300 Subject: [PATCH] Fail CI in case of compiler warnings like dead_code --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1ac7a5c..65e051d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,7 +64,7 @@ jobs: run: script/build-wasm - name: Build CLI - run: cargo build --release + run: RUSTFLAGS="-D warnings" cargo build --release - name: Set up fixture parsers run: |