Skip to content

Commit a98d6a6

Browse files
committed
CI: Run cargo fmt --check too
1 parent 19ebd97 commit a98d6a6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ jobs:
3030
- run: rustup override set ${{env.MSRV}}
3131
- run: cargo test --workspace
3232

33+
fmt:
34+
name: Rustfmt
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v2
38+
- run: rustup override set ${{env.MSRV}}
39+
- run: rustup component add rustfmt
40+
- run: cargo fmt --all -- --check
41+
3342
clippy:
3443
name: Clippy
3544
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)