From b6ab090dc1355d836673015e700ffb94e9cf7c77 Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Tue, 19 Dec 2023 11:33:51 -0500 Subject: [PATCH] ci: gate clippy on `correctness` and `suspicious` Per discussion on #236 Signed-off-by: John Eckersberg --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1f075fb5..47aaa00ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,8 +40,8 @@ jobs: run: cargo test -- --nocapture --quiet - name: Manpage generation run: mkdir -p target/man && cargo run --features=docgen -- man --directory target/man - - name: Clippy (non-gating) - run: cargo clippy + - name: Clippy (gate on correctness and suspicous) + run: cargo clippy -- -D clippy::correctness -D clippy::suspicious build-fedora: runs-on: ubuntu-latest container: quay.io/coreos-assembler/fcos-buildroot:testing-devel