-
Notifications
You must be signed in to change notification settings - Fork 19.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
build: add check for stale generated files #30037
Conversation
The build failed in
This way works because we have a dummy package that pulls cmd/stringer into our module, so it is available for use with For |
b6a3798
to
f8c45bf
Compare
333a978
to
68697a3
Compare
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.
Almost there.
Are you testing this locally? |
This error is because the trezor files need to be updated with #30058 |
6d6c0bf
to
9bc6b38
Compare
Calculates a hash of every code file in the source tree, runs
go generate ./...
, recalculates hashes for every code files, and asserts that none of the hashes differ. This allows us to catch forgetting to push generated files in the CI.This could use a little cleanup probably. Just opening it here to see if it passes CI (having trouble getting
protoc
to run properly locally).