Skip to content

Commit 692fc79

Browse files
committed
Add rustfmt check to CI
1 parent 8e074e2 commit 692fc79

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
@@ -243,6 +243,14 @@ jobs:
243243
# rustup component add clippy
244244
# - run: cargo clippy --workspace --all-features --all-targets
245245

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

0 commit comments

Comments
 (0)