Skip to content

Commit f5ec363

Browse files
committed
Add rustfmt check to CI
1 parent f5e3a1c commit f5ec363

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,14 @@ jobs:
241241
rustup component add clippy
242242
- run: cargo clippy --workspace --all-features --all-targets
243243

244+
rustfmt:
245+
runs-on: ubuntu-latest
246+
steps:
247+
- uses: actions/checkout@v2
248+
- name: Install Rust
249+
run: rustup update stable && rustup default stable
250+
- run: cargo fmt --all -- --check
251+
244252
docs:
245253
name: cargo doc
246254
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)