Skip to content

Commit

Permalink
script: fix golangci-lint install (#368)
Browse files Browse the repository at this point in the history
Updates golangci-lint install to incorporate the fix for
golangci/golangci-lint#3509, which was affecting CI tests, for example:

https://github.com/mmcloughlin/avo/actions/runs/4030013813
  • Loading branch information
mmcloughlin committed Jan 28, 2023
1 parent b01bfff commit b2ed9c7
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 @@ -4,8 +4,11 @@
go install ./internal/cmd/asmvet

# golangci-lint for linting
#
# 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}"

# embedmd required for documentation generation
Expand Down

0 comments on commit b2ed9c7

Please sign in to comment.