fmt: check goimports in fmt-check, run it at its pinned commit (#119) #192

Merged
clawbot merged 1 commits from issue-119-fmt-tooling into next 2026-10-01 23:51:22 +02:00
1 Commits
Author SHA1 Message Date
sneak c4982467d7 fmt: check goimports in fmt-check, run it at its pinned commit (#119)
check / check (push) Failing after 2m21s
script/fmt-check now runs goimports in list mode and fails naming any
file it would change, and checks gofmt with -s, as script/fmt applies
it. Both scripts run goimports with `go run` at the commit that
script/bootstrap used to install, so a goimports on PATH is never used
and bootstrap no longer installs it. The pin is written in both
scripts; change them together. The first run on a machine, and every
Dockerfile lint stage run, downloads and builds goimports.

The Markdown half of the issue (prettier) is not done here: it needs
node in the lint image or a separate build, a decision for the owner.

Model: opus-5-5
2026-10-01 21:40:59 +00:00