Skip to content

Commit

Permalink
script: pin golangci-lint install script (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcloughlin authored Oct 28, 2021
1 parent 9a44e52 commit a548039
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ go install ./internal/cmd/asmvet

# Install golangci-lint
golangci_lint_version='v1.23.6'
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $GOPATH/bin ${golangci_lint_version}
golangci_install_script="https://raw.githubusercontent.com/golangci/golangci-lint/${golangci_lint_version}/install.sh"
curl -sfL "${golangci_install_script}" | sh -s -- -b "$GOPATH/bin" "${golangci_lint_version}"

# Install tools.
tools=(
Expand Down

0 comments on commit a548039

Please sign in to comment.