]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
ci: cargo clippy run option
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 3 Nov 2022 20:34:37 +0000 (21:34 +0100)
committerVictor Julien <vjulien@oisf.net>
Tue, 8 Nov 2022 04:44:02 +0000 (06:44 +0200)
As clippy does not recognize git which is above

.github/workflows/rust.yml

index 741ff2f650332220f2617fe15e834d3a526e4acf..60f5ab2bcfbb3106ff37f4f07c30426babea3e11 100644 (file)
@@ -66,7 +66,7 @@ jobs:
       - run: ./scripts/bundle.sh
       - run: ./autogen.sh
       - run: ./configure
-      - run: cargo clippy --all-features --fix
+      - run: cargo clippy --all-features --fix --allow-no-vcs
         working-directory: rust
       - run: |
           diff=$(git diff)