golangci / golangci-lint-action

Official GitHub Action for golangci-lint from its authors
https://github.com/marketplace/actions/golangci-lint
MIT License
1.1k stars 152 forks source link

Tie the action default version to golangci/golangci-lint's release - release both when the underlying changes #1091

Open ldemailly opened 3 months ago

ldemailly commented 3 months ago

Welcome

Your feature request related to a problem? Please describe.

CI result changes mid PRs / at random time because the default is "latest"

Yet I don't want to hardcode a version and get stuck in the past, I would like dependabot to tell me there is a new version of the action which would match a new version of golangci/golangci-lint

Describe the solution you'd like.

Tag/release a new action each time a new golangci/golangci-lint release is made

Add/link the release notes of golangci/golangci-lint

Describe alternatives you've considered.

Using go install/go.mod/tools but that also doesn't work because go install version of golangci/golangci-lint isn't same as binary releases (replaces...)

Additional context.

Thanks for your consideration!