Gate cargo fmt --check in CI #12

Merged
Breadway merged 2 commits from fix/eco-21-fmt-gate-bos-settings into main 2026-09-11 18:46:27 +08:00
Owner

Normalises the tree with a dedicated cargo fmt --all commit, adds that commit's SHA to a new .git-blame-ignore-revs, and adds a cargo fmt --all -- --check step to check.yml (the step check.yml's own comment said was pending until the tree was normalised).

Two commits: formatting only, then the CI/blame-ignore change, so the reformat is easy to skip when reading blame or reviewing history.

Verified locally (stubbing frontend/build the way CI does): cargo fmt --all -- --check, cargo clippy --all-targets --locked -- -D warnings, and cargo test --locked, all clean.

Part of ECO-21 (bos-settings half; bread-ecosystem gets its own PR).

Normalises the tree with a dedicated `cargo fmt --all` commit, adds that commit's SHA to a new `.git-blame-ignore-revs`, and adds a `cargo fmt --all -- --check` step to `check.yml` (the step check.yml's own comment said was pending until the tree was normalised). Two commits: formatting only, then the CI/blame-ignore change, so the reformat is easy to skip when reading blame or reviewing history. Verified locally (stubbing `frontend/build` the way CI does): `cargo fmt --all -- --check`, `cargo clippy --all-targets --locked -- -D warnings`, and `cargo test --locked`, all clean. Part of ECO-21 (bos-settings half; bread-ecosystem gets its own PR).
Normalises the tree ahead of gating cargo fmt --check in CI.
Formatting only, no behavior change.
ci: gate cargo fmt --check in check.yml
All checks were successful
check / check (push) Successful in 3m0s
cd1a181dc8
Adds the fmt commit's SHA to .git-blame-ignore-revs and enables the
fmt step check.yml's own comment said was pending until the tree was
normalised.
Breadway deleted branch fix/eco-21-fmt-gate-bos-settings 2026-09-11 18:46:27 +08:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Breadway/bos-settings!12
No description provided.