Skip to content

Commit

Permalink
ci: use install.sh from golangci-lint repo
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit f3ed883)

# Conflicts:
#	scripts/Dockerfile.test
  • Loading branch information
Madhu-1 authored and mergify-bot committed Dec 22, 2021
1 parent 89f6db4 commit c7507ad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,14 @@ RUN source /build.env \
&& dnf -y update \
&& dnf -y clean all \
&& gem install mdl \
<<<<<<< HEAD
&& curl -sf "https://install.goreleaser.com/github.com/golangci/golangci-lint.sh" \
=======
&& 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://raw.githubusercontent.com/golangci/golangci-lint/${GOLANGCI_VERSION}/install.sh" \
>>>>>>> f3ed883d (ci: use install.sh from golangci-lint repo)
| bash -s -- -b ${GOPATH}/bin "${GOLANGCI_VERSION}" \
&& curl -sfL "https://raw.githubusercontent.com/securego/gosec/master/install.sh" \
| sh -s -- -b $GOPATH/bin "${GOSEC_VERSION}" \
Expand Down

0 comments on commit c7507ad

Please sign in to comment.