From f3ed883df994be2231826572c030289f5cc2c163 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Wed, 22 Dec 2021 19:06:32 +0530 Subject: [PATCH] ci: use install.sh from golangci-lint repo The golangci-lint install script at goreleaser.com is deprecated. Docs now advise to install from a github link: goreleaser/godownloader#207 Signed-off-by: Madhu Rajanna --- scripts/Dockerfile.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Dockerfile.test b/scripts/Dockerfile.test index e5b000c7f..70cd9f1f9 100644 --- a/scripts/Dockerfile.test +++ b/scripts/Dockerfile.test @@ -46,7 +46,7 @@ RUN source /build.env \ && mkdir -p ${GOROOT} \ && curl https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${GOARCH}.tar.gz \ | tar xzf - -C ${GOROOT} --strip-components=1 \ - && curl -sf "https://install.goreleaser.com/github.com/golangci/golangci-lint.sh" \ + && curl -sf "https://raw.githubusercontent.com/golangci/golangci-lint/${GOLANGCI_VERSION}/install.sh" \ | bash -s -- -b ${GOPATH}/bin "${GOLANGCI_VERSION}" \ && curl -L https://git.io/get_helm.sh | bash -s -- --version "${HELM_VERSION}" \ && mkdir /opt/commitlint && pushd /opt/commitlint \