From 949e671d9c9248e9d56ab348de01bd59c1710447 Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 22 Apr 2021 23:16:35 +0300 Subject: [PATCH] ci: fail on `cargo check` warnings --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c26b15ed..a46ae89f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,8 +114,10 @@ jobs: - name: check uses: actions-rs/cargo@v1 + env: + RUSTFLAGS: -D warnings with: - command: check + command: check args: --all --bins --examples --tests --features repl - name: tests