-
-
Notifications
You must be signed in to change notification settings - Fork 164
Infer golangci-lint version from go.mod #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
While Anyway, I have very limited idea how widely tools.go is used. In general, I find it's great idea to derive version from go.mod. This might be done only after #98, which supports patch version. |
@lukasmalkmus just curious if you are planning to work on this. |
Yes, sounds great. Wil. try to tackle it next weekend 👍 |
@lukasmalkmus the related PR got merged, feel free to shout out if you have any question/concern. |
Sorry, I haven't really gotten into it, yet. I made a very simple implementation: #118. It tries to get the version from |
For Go projects, I use
tools.go
to specify the tools the project depends on and pin the version in thego.mod
file. This is pretty convenient. It would be awesome to have the action infer the version from thego.mod
file. When upgrading, this makes it one file less to update thegolangci-lint
version.With some guidance, I can probably tackle this. I'm just completely new to GitHub Actions.
The text was updated successfully, but these errors were encountered: