]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
ci: test cargo fmt for some subdirs
authorPhilippe Antoine <pantoine@oisf.net>
Fri, 7 Mar 2025 14:04:01 +0000 (15:04 +0100)
committerVictor Julien <victor@inliniac.net>
Sat, 29 Mar 2025 05:38:00 +0000 (06:38 +0100)
The ones that respect it as new

.github/workflows/rust.yml

index b06796dc036339ddf99e224807bfe1b529c91c4c..2a674407dcdcaa8c71ec7c98f52a1e20036d1b46 100644 (file)
@@ -92,6 +92,12 @@ jobs:
       # especially without debug feature
       - run: cargo clippy
         working-directory: rust
+      - run: cargo fmt --check
+        working-directory: rust/suricatactl
+      - run: cargo fmt --check
+        working-directory: rust/suricatasc
+      - run: cargo fmt --check
+        working-directory: rust/sys
       - name: Check if Cargo.lock.in is up to date
         run: |
           cp rust/Cargo.lock rust/Cargo.lock.in