Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI check for up-to-date type generation (#225)
Add a CI check to ensure that the `types.go` file generated from `schema.json` is up-to-date. Types are generated from the `schema.json` file but there was no check in place to ensure that the two were consistent. This PR runs `make generate` to correct an inconsistency between the definitions and the generated types and adds the check so that we can't repeat this mistake. An example failed run where the types are out of date is [here](https://github.com/xataio/pgroll/actions/runs/7475710605/job/20344427261).
- Loading branch information