From b5feefd664abe4f08bbef866fe3cef8d116afdf0 Mon Sep 17 00:00:00 2001 From: Marcelo Altmann Date: Wed, 3 Apr 2024 08:10:23 -0300 Subject: [PATCH] Rust fmt action Add run fmt action on commit --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7288a8d..afd5979 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,9 @@ jobs: - name: Install pre-requirements run: sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -q -y + + - name: Check format + run: cargo fmt --check - name: Install cargo-generate-rpm run: cargo install cargo-generate-rpm