Skip to content
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

chore: require build-sqlc to be run in pre-push if sql inputs are changed #2038

Closed
wants to merge 1 commit into from

Conversation

safeer
Copy link
Contributor

@safeer safeer commented Jul 10, 2024

Fixes #2013 by adding a pre-push step to do a simple modified-time check on sql inputs and generated sqlc. Also fixes a small bug in build-sqlc where it couldn't find .../{cronjobs}/...

@safeer safeer requested review from alecthomas and a team as code owners July 10, 2024 20:46
@safeer safeer requested review from worstell and removed request for a team July 10, 2024 20:46
@ftl-robot ftl-robot mentioned this pull request Jul 10, 2024
@safeer
Copy link
Contributor Author

safeer commented Jul 19, 2024

Closing this out; I think we should be smarter and do a diff instead of simple timestamps, but this isn't a priority

@safeer safeer closed this Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automate running and committing just build-sqlc
2 participants