Skip to content

Conversation

bridgetbarnes
Copy link

The gets need to be before golangci-lint is fetched, so move them earlier to prevent the action from failing because of missing dependancies

@github-actions github-actions bot added the admin For general admin tasks to be done usualy by maintainers label Mar 10, 2021
@umarcor
Copy link
Contributor

umarcor commented Mar 12, 2021

@bridgetbarnes thanks for having a look at this! Unfortunately, using get is not what we want here. get might/will modify the go.mod, which describes the dependencies of cobra. However, richgo and gox are not dependencies of cobra, but of the testing plumbing. See "No automatic changes to go.mod and go.sum" and "Installing an executable at a specific version" in https://blog.golang.org/go116-module-changes. See also #1366.

@bridgetbarnes
Copy link
Author

Oh awesome! Thanks so much for explaining, and for fixing it in your PR! Closing this now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin For general admin tasks to be done usualy by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants