From add08335680d8da7c064ea54337bc2431bb4c300 Mon Sep 17 00:00:00 2001 From: Jiawei Huang Date: Fri, 31 Mar 2023 12:29:10 -0700 Subject: [PATCH] Upgrade golangci-lint to v1.52.2 This fixes golangci-lint 1.50.x excessive memory usage with golang 1.20. Upstream issue: https://github.com/golangci/golangci-lint/issues/3565. --- Dockerfile.amd64 | 2 +- Dockerfile.arm64 | 2 +- Dockerfile.armv7 | 2 +- Dockerfile.ppc64le | 2 +- Dockerfile.s390x | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile.amd64 b/Dockerfile.amd64 index 0f7a1704..5ef98158 100644 --- a/Dockerfile.amd64 +++ b/Dockerfile.amd64 @@ -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 \ diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index 359ae1d2..5f869d38 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -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 \ diff --git a/Dockerfile.armv7 b/Dockerfile.armv7 index 4576556f..bc43c60b 100644 --- a/Dockerfile.armv7 +++ b/Dockerfile.armv7 @@ -47,7 +47,7 @@ RUN go install -v std RUN go install github.com/onsi/ginkgo/ginkgo@v1.16.5 # 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 diff --git a/Dockerfile.ppc64le b/Dockerfile.ppc64le index a3fe0284..f2abd5e9 100644 --- a/Dockerfile.ppc64le +++ b/Dockerfile.ppc64le @@ -47,7 +47,7 @@ RUN go install -v std RUN go install github.com/onsi/ginkgo/ginkgo@v1.16.5 # 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 diff --git a/Dockerfile.s390x b/Dockerfile.s390x index 49fe85c0..900a0711 100644 --- a/Dockerfile.s390x +++ b/Dockerfile.s390x @@ -47,7 +47,7 @@ RUN go install -v std RUN go install github.com/onsi/ginkgo/ginkgo@v1.16.5 # 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