Skip to content

Commit b142941

Browse files
author
Jan Kaul
committed
add format check for github
1 parent 1d21f82 commit b142941

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ jobs:
3737
run: rustup component add clippy
3838
- name: Run Clippy
3939
run: make clippy
40+
- name: Install Format
41+
run: rustup component add rustfmt
42+
- name: Run fmt
43+
run: make fmt

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ test-sql-catalog:
1919
cargo test -p iceberg-sql-catalog --lib && cargo clean -p iceberg-sql-catalog
2020
clippy:
2121
cargo clippy --all-targets --all-features -- -D warnings
22+
fmt:
23+
cargo fmt --all -- --check

0 commit comments

Comments
 (0)