-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
use gomods #12429
use gomods #12429
Conversation
I see that you haven't updated any README files. Would it make sense to do so? |
go mod tidy | ||
cd ./core/scripts && go mod tidy | ||
cd ./integration-tests && go mod tidy | ||
cd ./integration-tests/load && go mod tidy |
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.
Notice this was missing two modules:
go install github.com/jmank88/[email protected]
gomods -w go generate -x ./...
found 6 go.mod files:
./go.mod
charts/chainlink-cluster/go.mod
core/scripts/go.mod
dashboard/go.mod
integration-tests/go.mod
integration-tests/load/go.mod
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.
(and one was not tidy)
generate: abigen codecgen mockery protoc ## Execute all go:generate commands. | ||
go generate -x ./... | ||
generate: abigen codecgen mockery protoc gomods ## Execute all go:generate commands. | ||
gomods -w go generate -x ./... |
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.
We were only generating the core module.
Quality Gate passedIssues Measures |
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.
🔥
Use
gomods
so we don't have to keep updating our commands with a hard coded list of modules.https://github.com/jmank88/gomods