fix: correct golangci-lint v2 module path in Dockerfile
Some checks failed
check / check (push) Failing after 1m19s

golangci-lint v2 uses module path github.com/golangci/golangci-lint/v2/...
Also set CGO_ENABLED=0 for Alpine compatibility.

Closes #13
This commit is contained in:
clawbot
2026-02-26 20:46:50 -08:00
parent 9daf836cbe
commit f821d66670

View File

@@ -10,7 +10,7 @@ RUN go mod download
COPY . . COPY . .
# Run all checks — build fails if branch is not green # Run all checks — build fails if branch is not green
RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@v2.1.6 RUN CGO_ENABLED=0 go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.6
RUN make check RUN make check
ARG VERSION=dev ARG VERSION=dev