Commit 92d190b
committed
ci: fail on sqlc gen drift
sqlc is unavailable in the dev env, so an edit to queries/*.sql or a
schema-affecting migration can silently diverge from the committed
gen/*.sql.go with nothing detecting it. New job regenerates with a pinned sqlc
and fails on any diff under internal/adapter/postgres/gen. Verified the current
tree is already in sync (regeneration produced no changes).1 parent 9b4164d commit 92d190b
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
32 | 51 | | |
33 | 52 | | |
34 | 53 | | |
| |||
0 commit comments