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: