-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Remove tools from go.sum deps #4251
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4251 +/- ##
=========================================
- Coverage 58.91% 58.9% -0.02%
=========================================
Files 215 215
Lines 14482 14482
=========================================
- Hits 8532 8530 -2
- Misses 5310 5312 +2
Partials 640 640 |
@@ -110,7 +110,7 @@ go-mod-cache: go.sum | |||
@echo "--> Download go modules to local cache" | |||
@go mod download | |||
|
|||
go.sum: tools go.mod | |||
go.sum: go.mod | |||
@echo "--> Ensure dependencies have not been modified" | |||
@go mod verify |
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.
Do we not need -mod=readonly
here?
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.
-mod=readonly
is not supported by go mod
just yet - from what I can see here golang/go#31372 and here https://go-review.googlesource.com/c/go/+/174258/, it seems that upstream will include it in Go 1.14
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.
Tested ACK
The go.sum target does not need to depend on tools to run successfully.
Closes: #4165
docs/
)clog add [section] [stanza] [message]
Files changed
in the github PR explorerFor Admin Use: