Skip to content

Commit

Permalink
Upgrade golangci-lint to v1.52.2
Browse files Browse the repository at this point in the history
This fixes golangci-lint 1.50.x excessive memory usage with golang 1.20.

Upstream issue: golangci/golangci-lint#3565.
  • Loading branch information
hjiawei committed Apr 12, 2023
1 parent 40d8ec5 commit a41835b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ RUN cp -a $GOROOT $GOCGO && \
go install -v std && \
rm -rf /go/src/* /root/.cache

ENV GO_LINT_VERSION=v1.50.1
ENV GO_LINT_VERSION=v1.52.2

# Install go programs that we rely on
RUN \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ RUN cp -a $GOROOT $GOCGO && \
go install -v std && \
rm -rf /go/src/* /root/.cache

ENV GO_LINT_VERSION=v1.50.1
ENV GO_LINT_VERSION=v1.52.2

# Install go programs that we rely on
RUN \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.armv7
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RUN go install -v std
RUN go install github.com/onsi/ginkgo/[email protected]

# Install linting tools
ENV GO_LINT_VERSION=v1.50.1
ENV GO_LINT_VERSION=v1.52.2
RUN \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin $GO_LINT_VERSION && \
golangci-lint --version
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ppc64le
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RUN go install -v std
RUN go install github.com/onsi/ginkgo/[email protected]

# Install linting tools
ENV GO_LINT_VERSION=v1.50.1
ENV GO_LINT_VERSION=v1.52.2
RUN \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin $GO_LINT_VERSION && \
golangci-lint --version
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.s390x
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RUN go install -v std
RUN go install github.com/onsi/ginkgo/[email protected]

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

0 comments on commit a41835b

Please sign in to comment.