Skip to content

Commit cf9aac9

Browse files
committed
add cargo fmt and cargo check to CI
1 parent f330f84 commit cf9aac9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/check-rust.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ jobs:
100100
with:
101101
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
102102

103+
- name: cargo fmt
104+
run: cargo fmt --check
105+
- name: cargo check
106+
run: cargo check --workspace
103107
## TODO: maybe use `if` conditions in tests to target `--package <name>`
104108
- name: Run tests
105109
# timeout-minutes: 30

0 commit comments

Comments
 (0)