diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71d2e062..396fbc91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,10 @@ jobs: uses: Swatinem/rust-cache@v2 with: save-if: ${{ github.ref == 'refs/heads/main' }} + - + name: format + run: cargo fmt --all -- --check + timeout-minutes: 5 - name: compile run: cargo build --locked --workspace