Skip to content

Commit 830ba4f

Browse files
committed
Enforce cargo fmt in CI
1 parent c125a4c commit 830ba4f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ env:
88
CARGO_TERM_COLOR: always
99

1010
jobs:
11+
format:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Cargo Fmt
16+
run: cargo fmt --all -- --check
1117
build:
1218
name: Rust ${{matrix.rust}}
1319
strategy:

0 commit comments

Comments
 (0)