From 00fb3b1d54486c029cb6c1eb732328730c3e1656 Mon Sep 17 00:00:00 2001 From: Grygoriy Ensary Date: Tue, 5 May 2026 13:31:03 -0500 Subject: [PATCH] use newer golangcilint built with golang 1.26.2 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7412985..c907859 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ ADD golang/* /go-tools/ ADD defaults/.golangci.yaml /defaults/.golangci.yaml WORKDIR /go-tools # golangci-lint specifically asks to not use go tool and similar... -RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.4.0 +RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.12.1 RUN GOFLAGS="-p=1" GOMAXPROCS=1 go mod download && grep _ tools.go | grep -v golangci-lint | awk -F'"' '{print $2}' | xargs -tI % env GOFLAGS="-p=1" GOMAXPROCS=1 go install % && cd .. && rm /go-tools/* && rmdir /go-tools WORKDIR /