-
Notifications
You must be signed in to change notification settings - Fork 741
Add CI check that auto-generated code is up to date #1828
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
This reverts commit 84884e0.
This reverts commit f9d2636.
Signed-off-by: Sam Batschelet <sam.batschelet@avalabs.org>
This reverts commit adb8e95.
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.
Some questions, but the code LGTM.
- shell: bash | ||
run: scripts/mock.gen.sh | ||
- shell: bash | ||
run: rm -rf gomock_reflect* |
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.
Is this mostly for if the previous run failed in a weird state?
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.
Yeah- thinking about it again we should fail if that file still exists. Updated the PR
Why this should be merged
Closes #1553
How this works
Adds a workflow that runs both code generation scripts and checks that the working tree is clean.
How this was tested
CI