From cd5c2985e5d68586b76c30adac7a7dbfb7ce8e8d Mon Sep 17 00:00:00 2001 From: Brian Bowman Date: Mon, 11 Jul 2022 04:42:03 -0500 Subject: [PATCH] Add rustfmt CI check --- .github/workflows/backend-checks.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/backend-checks.yml b/.github/workflows/backend-checks.yml index f0d6d46..a66b210 100644 --- a/.github/workflows/backend-checks.yml +++ b/.github/workflows/backend-checks.yml @@ -15,6 +15,17 @@ concurrency: cancel-in-progress: true jobs: + rustfmt: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - uses: actions-rs/cargo@v1 + with: + command: fmt + args: --manifest-path ./src-tauri/Cargo.toml --all -- --check + clippy: runs-on: ${{ matrix.platform }}