heroku-buildpack-go icon indicating copy to clipboard operation
heroku-buildpack-go copied to clipboard

Allow specifying the golangci-lint version

Open djgilcrease opened this issue 3 years ago • 0 comments

This is currently hardcoded to 1.20.0 and I would like to use a newer version as v1.33.0 is currently the latest. Maybe make the install command something like;

curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b ${build}/.heroku/golangci/bin ${GOLANCI_VERSION:v1.20.0}

That way you do not need to create a new release every time a new version of golangci-lint is released.

djgilcrease avatar Dec 02 '20 18:12 djgilcrease