diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ebe141..08a1010 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,3 +18,14 @@ jobs: - name: Run tests run: cargo test --verbose + + rustfmt: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Check formatting + run: | + cargo fmt -- --check