diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d85210a..6f0b5dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,16 @@ jobs: with: command: test args: --verbose + formatting: + name: Cargo fmt + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + components: rustfmt + - name: Rustfmt Check + uses: actions-rust-lang/rustfmt@v1 cargo-deny: name: Check dependencies runs-on: ubuntu-latest