-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
run go mod tidy #8402
run go mod tidy #8402
Conversation
16aff9b
to
23ebae4
Compare
should we add |
I'm fine with the changes, but I'm not sure about the rule: What do you think @gregwebs |
I would prefer to keep it tidy because I like to be able to see transitive dependencies. It is always possible to get the older go.sum from version control. So to verify that it has been run doing it as a check makes sense. |
oh, adding it as a |
So, would you like to add this rule in the Makefile, just like the
|
Checking stdout/stderr is brittle, particularly for a feature labeled as experimental. On the CI I would run |
|
de2ec4a
to
c59c710
Compare
c59c710
to
d4c2367
Compare
okay, added. Ironically go.sum is changing daily and keeps conflicting with this branch (precisely what this PR will address). |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There is a lot of junk in go.sum right now. This is because as I understand it, go.sum is only pruned by
go mod tidy
.Additionally, we are missing indirect dependencies, which may hamper reproducible builds.
We should add
go mod tidy
to our CI process.This change is