heroku / heroku-buildpack-go

Heroku Go Buildpack
https://devcenter.heroku.com/categories/go
MIT License
3 stars 1 forks source link

Allow specifying the golangci-lint version #436

Open djgilcrease opened 3 years ago

djgilcrease commented 3 years ago

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.