Skip to content

Commit b8af469

Browse files
committed
add format check ci
1 parent 9c64ceb commit b8af469

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ jobs:
2424
- name: Spell Check Repo
2525
uses: crate-ci/typos@master
2626

27+
reformat:
28+
name: Rustfmt
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
- name: Install Rust toolchain
34+
uses: dtolnay/rust-toolchain@stable
35+
- name: Run Rustfmt
36+
run: cargo fmt --all -- --check
37+
2738
test:
2839
runs-on: ubuntu-latest
2940
steps:

0 commit comments

Comments
 (0)