Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all: run go generate during ci builds to check all files updated (#2372)
### What Run `go generate` during ci builds. ### Why We use `go generate` to trigger builds of our bindata files for SQL migrations but we don't have any broad checks on CI that ensure that the generated files are up to date. This ensures whenever we make a change to an input file to code generation that the generated file is updated in the same change/pull-request. We achieve this to some degree in some apps, like Horizon, where we have a test that checks that the generated data bytes match the bytes on disk, but this is only in one app, requires us to write a test in each app, and doesn't prevent diffs caused by environmental changes like us upgrading the version of the go-bindata tool.
- Loading branch information