-
Notifications
You must be signed in to change notification settings - Fork 4
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
tasks install:mockgen
and install:golangci-lint
are installing specific version for all my machine
#154
Comments
fixed in #155 |
It's not completed. The fix I made was there to check the binary presence before calling it. The issue described here differs. If I have golangci-lint 1.59 (or 1.52), launching The check should be (and it's not obvious) to validate the version installed is at least tge one you expect Please reopen |
Alright, reopened. |
Maybe it's something that could be solved by using the technique used here https://gitlab.com/gitlab-org/cloud-native/gitlab-operator/-/blob/master/Taskfile.yaml#L73 By defining a local GOBIN folder you would be able to install and use the version you expect from golangci-lint and mockery |
Nice point, We can do it like this. |
fixed in latest commit. |
If I have golang 1.59.0, or a custom version locally
the code will nuke it as it would install the version needed by your tool, which is the 1.56.0 for now
same for mockgen
kod/Taskfile.yml
Lines 78 to 92 in 795c83b
The text was updated successfully, but these errors were encountered: