Skip to content

Commit e8b671a

Browse files
committed
build: pin codegen tool versions
`latest` for oapi-codegen, mockery, and sqlc in mise.toml let fresh CI runs pull newer generators than whatever produced the committed files, breaking the Verify generated code check (local 2.4.1 vs CI 2.6.0 for oapi-codegen). Pin all three and regenerate api/api.gen.go with oapi-codegen 2.6.0. Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
1 parent 551ad3f commit e8b671a

2 files changed

Lines changed: 43 additions & 27 deletions

File tree

api/api.gen.go

Lines changed: 40 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mise.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
go = "1.26"
33
"go:github.com/golang-migrate/migrate/v4/cmd/migrate" = { version = "latest", tags = "postgres" }
44
golangci-lint = "2.11.4"
5-
mockery = "latest"
6-
oapi-codegen = "latest"
7-
sqlc = "latest"
5+
mockery = "3.7.0"
6+
oapi-codegen = "2.6.0"
7+
sqlc = "1.30.0"

0 commit comments

Comments
 (0)