]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: running clippy with all features
authorJason Ish <jason.ish@oisf.net>
Thu, 6 Oct 2022 18:23:24 +0000 (12:23 -0600)
committerVictor Julien <vjulien@oisf.net>
Mon, 24 Oct 2022 09:20:10 +0000 (11:20 +0200)
Without it, it own't see the usage of variables in SCDebugLog macros,
etc.

.github/workflows/rust.yml

index abb1df7dcf3c6274c8595364f4f1e631dc54aa7c..b30f82c1444e0ec9a8c798850bd01d5a50fb8699 100644 (file)
@@ -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