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)
  • Loading branch information
Madhu-1 authored and mergify[bot] committed Dec 23, 2021
1 parent 89f6db4 commit 831dbc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN source /build.env \
&& dnf -y update \
&& dnf -y clean all \
&& gem install mdl \
&& 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 -sfL "https://raw.githubusercontent.com/securego/gosec/master/install.sh" \
| sh -s -- -b $GOPATH/bin "${GOSEC_VERSION}" \
Expand Down

0 comments on commit 831dbc7

Please sign in to comment.