Run all linting in Docker via the Dockerfile lint stage (closes #90) #127

Merged
clawbot merged 1 commits from issue-90-lint-in-docker into next 2026-10-04 09:31:55 +02:00
1 Commits
Author SHA1 Message Date
sneak c0235bee17 Run all linting in Docker via the Dockerfile lint stage (closes #90)
check / check (push) Waiting to run
script/lint now builds only the lint stage of the main Dockerfile
(docker build --no-cache --target lint), whose build runs the linter, so
a successful build is a clean lint. It is uncached because a cached
build runs no linter, and a trap removes the image it tagged; the tag
carries the process ID so concurrent runs do not collide. The lint stage
calls golangci-lint directly, since make lint now needs Docker. Nothing
installs or runs golangci-lint on the host any more: bootstrap and the
Makefile drop the install, and script/fmt drops golangci-lint run --fix.

Model: opus-5-5
2026-10-04 05:48:30 +00:00