Skip to content

Commit a41835b

Browse files
committed
Upgrade golangci-lint to v1.52.2
This fixes golangci-lint 1.50.x excessive memory usage with golang 1.20. Upstream issue: golangci/golangci-lint#3565.
1 parent 40d8ec5 commit a41835b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Dockerfile.amd64

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ RUN cp -a $GOROOT $GOCGO && \
8686
go install -v std && \
8787
rm -rf /go/src/* /root/.cache
8888

89-
ENV GO_LINT_VERSION=v1.50.1
89+
ENV GO_LINT_VERSION=v1.52.2
9090

9191
# Install go programs that we rely on
9292
RUN \

Dockerfile.arm64

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ RUN cp -a $GOROOT $GOCGO && \
8989
go install -v std && \
9090
rm -rf /go/src/* /root/.cache
9191

92-
ENV GO_LINT_VERSION=v1.50.1
92+
ENV GO_LINT_VERSION=v1.52.2
9393

9494
# Install go programs that we rely on
9595
RUN \

Dockerfile.armv7

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN go install -v std
4747
RUN go install github.com/onsi/ginkgo/[email protected]
4848

4949
# Install linting tools
50-
ENV GO_LINT_VERSION=v1.50.1
50+
ENV GO_LINT_VERSION=v1.52.2
5151
RUN \
5252
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin $GO_LINT_VERSION && \
5353
golangci-lint --version

Dockerfile.ppc64le

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN go install -v std
4747
RUN go install github.com/onsi/ginkgo/[email protected]
4848

4949
# Install linting tools
50-
ENV GO_LINT_VERSION=v1.50.1
50+
ENV GO_LINT_VERSION=v1.52.2
5151
RUN \
5252
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin $GO_LINT_VERSION && \
5353
golangci-lint --version

Dockerfile.s390x

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN go install -v std
4747
RUN go install github.com/onsi/ginkgo/[email protected]
4848

4949
# Install linting tools
50-
ENV GO_LINT_VERSION=v1.50.1
50+
ENV GO_LINT_VERSION=v1.52.2
5151
RUN \
5252
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin $GO_LINT_VERSION && \
5353
golangci-lint --version

0 commit comments

Comments
 (0)