cisco-open/operator-tools

PR validation checks: golangci-lint install doesn't work

tiswanso opened this issue · 0 comments

Describe the bug

PR validation checks fail due to not being able to install golangci-lint.
Install script is no longer at https://install.goreleaser.com/github.com/golangci/golangci-lint.sh

curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b ./bin/ v1.21.0
mv: cannot stat 'bin/golangci-lint': No such file or directory
make: *** [Makefile:73: bin/golangci-lint-1.21.0] Error 1

Steps to reproduce the issue:

make check

Expected behavior

golangci-lint to get installed and run against changeset

Screenshots

Additional context

Reference: https://golangci-lint.run/usage/install/#local-installation
This appears to be the way:

curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./bin/ v1.21.0