From eccf5da808a462b01e1c1b7dbe4698033048a602 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 4 Dec 2024 05:51:22 +0200 Subject: [PATCH] add rustfmt, clippy validation --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9fd45e0..e4002e2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,6 +16,10 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Run rustfmt + run: cargo fmt --all -- --check + - name: Run clippy + run: cargo clippy --all-targets - name: Build run: cargo build --verbose - name: Run tests