Skip to content

Commit

Permalink
script: fix golangci-lint install (#143)
Browse files Browse the repository at this point in the history
Updates golangci-lint install to incorporate the fix for
golangci/golangci-lint#3509.
  • Loading branch information
mmcloughlin committed Jan 28, 2023
1 parent bcf8335 commit a2229ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
set -exuo pipefail

# Install golangci-lint
#
# Note: we pin a different version of the install script to fix
# https://github.com/golangci/golangci-lint/issues/3509.
golangci_lint_version='v1.49.0'
golangci_install_script="https://raw.githubusercontent.com/golangci/golangci-lint/${golangci_lint_version}/install.sh"
golangci_install_script="https://raw.githubusercontent.com/golangci/golangci-lint/d57156ec228b712ccd429367482771179e3fa050/install.sh"
curl -sfL "${golangci_install_script}" | sh -s -- -b "$GOPATH/bin" "${golangci_lint_version}"

# Install goreleaser.
Expand Down

0 comments on commit a2229ff

Please sign in to comment.