From: Jason Ish Date: Thu, 6 Oct 2022 18:23:24 +0000 (-0600) Subject: github-ci: running clippy with all features X-Git-Tag: suricata-7.0.0-beta1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a11f51f4d371182c73d7ea1e68bb214add4e23a9;p=thirdparty%2Fsuricata.git github-ci: running clippy with all features Without it, it own't see the usage of variables in SCDebugLog macros, etc. --- diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index abb1df7dcf..b30f82c144 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -66,12 +66,12 @@ jobs: - run: ./scripts/bundle.sh - run: ./autogen.sh - run: ./configure - - run: cargo clippy --fix + - run: cargo clippy --all-features --fix working-directory: rust - run: | diff=$(git diff) if [ "${diff}" ]; then echo "::warning ::Clippy --fix made changes, please fix" fi - - run: cargo clippy + - run: cargo clippy --all-features working-directory: rust