From: Philippe Antoine Date: Fri, 7 Mar 2025 14:04:01 +0000 (+0100) Subject: ci: test cargo fmt for some subdirs X-Git-Tag: suricata-8.0.0-beta1~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91389a40cef76156c6cfc03c348c8f7e79492c3c;p=thirdparty%2Fsuricata.git ci: test cargo fmt for some subdirs The ones that respect it as new --- diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b06796dc03..2a674407dc 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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