From cf0b435790ffd9fc4943d27179a7276aa628cb98 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Thu, 22 Dec 2022 14:15:09 -0800 Subject: [PATCH] Add rustfmt/clippy to the CI (#22) --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dda7132..671a5df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,17 @@ on: branches: [main] jobs: + Check_Formatting: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: hecrj/setup-rust-action@v1 + with: + rust-version: stable + components: rustfmt + - name: Check Formatting + run: cargo +stable fmt --all -- --check + tests: name: Tests strategy: