Skip to content

Commit 1014558

Browse files
committed
ci: Check code formatting with cargo fmt
1 parent dee7b1e commit 1014558

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/rust.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,10 @@ jobs:
2121
run: cargo build --verbose
2222
- name: Run tests
2323
run: cargo test --verbose
24+
fmt:
25+
name: Check code formatting
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v3
29+
- name: Run cargo fmt
30+
run: cargo fmt -- --check

0 commit comments

Comments
 (0)