Skip to content

Commit ec54256

Browse files
committed
ci: Require cargo fmt to pass
Some of this snuck in in the last PR. Signed-off-by: Colin Walters <[email protected]>
1 parent e4cea7b commit ec54256

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: Swatinem/rust-cache@v2
4343

4444
- name: Build
45-
run: just build
45+
run: just check && just build
4646

4747
- name: Run unit tests
4848
run: just unit

Justfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
build:
33
make
44

5+
# Quick checks
56
check:
67
cargo t --workspace --no-run
8+
cargo fmt --check
79

810
# Run unit tests (excludes integration tests)
911
unit *ARGS:

0 commit comments

Comments
 (0)