Files
upaas/Dockerfile
clawbot 2c4c1beaf9
All checks were successful
Check / check (pull_request) Successful in 2m26s
split Dockerfile into lint + build stages for faster CI feedback
- Add dedicated lint stage using golangci/golangci-lint:v2.10.1 image
  (pinned by sha256 digest) for fast formatting and lint checks
- Keep build stage with golang:1.25-alpine for tests and compilation
- Remove manual golangci-lint download/install from builder stage
- Add fmt-check Makefile target for standalone format checking
- Refactor check target to use fmt-check, lint, test dependencies

The lint stage uses the official golangci-lint image which has the
linter pre-installed, eliminating the need to download it on every
build. Lint failures now surface immediately without waiting for
the download step.

closes #151
2026-03-01 10:32:31 -08:00

1.1 KiB