script: switch to install.sh from golangci-lint repo (#203)

The goreleaser script has been deprecated:

goreleaser/godownloader#207
This commit is contained in:
Michael McLoughlin
2021-10-27 23:07:44 -07:00
committed by GitHub
parent 9c815a0581
commit 9a44e522f4

View File

@@ -5,7 +5,7 @@ go install ./internal/cmd/asmvet
# Install golangci-lint
golangci_lint_version='v1.23.6'
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin ${golangci_lint_version}
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $GOPATH/bin ${golangci_lint_version}
# Install tools.
tools=(
@@ -23,4 +23,3 @@ tools=(
)
go install -modfile=script/tools.mod "${tools[@]}"