-
Notifications
You must be signed in to change notification settings - Fork 49
Go mod tidy sourcegraph #40
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #40 +/- ##
=======================================
Coverage 26.91% 26.91%
=======================================
Files 5 5
Lines 1133 1133
=======================================
Hits 305 305
Misses 784 784
Partials 44 44 Continue to review full report at Codecov.
|
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.
This seems to just make it so we can't build with an earlier go? So I'd rather we didn't merge this.
I have unfortunately no idea what the directive is used for :D but I'm happy to close it, as that will also be a good data point for me testing out the roll-out with all sorts of scenarios! |
Setting the Go language version to 1.14 means that language features that are new to 1.14 may be used, and things that were deprecated/removed may not be. Since there aren't code changes here, the packages in this module would still build successfully with older versions of Go. It'd be completely reasonable to specify an older version of the Go language if your intention is not to use any newer Go language features. See issue golang/go#30791 about documenting the |
Thanks @dmitshur. So this won't affect any modules which depend on go-diff? If so LGTM |
Next time I will read the link before asking a question. Looks like this does what I expect. |
Thanks for jumping in @dmitshur! I am going to close this PR and will recreate it in the coming hours or days, as the new campaign rollout test will originate from our dogfood instance. |
The Based on what you said, setting it to a lower value like |
This is a campaign run to fulfill the delivery plan https://github.com/sourcegraph/customer/issues/13.
Over the coming days, I will update more repositories using
go mod tidy
.