All checks were successful
check / check (push) Successful in 3m4s
## Summary Split the Dockerfile into a dedicated lint stage using the prebuilt `golangci/golangci-lint:v2.1.6` image, so lint failures are reported faster without needing to download/compile golangci-lint first. ## Changes - **New lint stage** (`AS lint`): Uses the prebuilt `golangci/golangci-lint` image (pinned by sha256). Runs `make fmt-check` and `make lint`. - **Build stage** (`AS builder`): Runs `make test` + compilation. No longer installs golangci-lint via `go install`. - **`COPY --from=lint`**: Forces BuildKit to execute the lint stage before proceeding with the build. - **Runtime stage**: Unchanged. All base images remain pinned by sha256 hash. closes #27 <!-- session: agent:sdlc-manager:subagent:76cebdf6-86f0-4383-93e3-ff3e10fbc7a6 --> Co-authored-by: clawbot <clawbot@noreply.git.eeqj.de> Reviewed-on: #32 Co-authored-by: clawbot <clawbot@noreply.example.org> Co-committed-by: clawbot <clawbot@noreply.example.org>
1.4 KiB
1.4 KiB