-
Notifications
You must be signed in to change notification settings - Fork 883
chore: bump go (->v1.21.5) and sqlc (->v1.24.0) to new versions #11170
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
Conversation
Adding support for sqlc vet made sqlc gen require a db connection. Disable that to get previous behavior
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is no longer a hotfix.
- ✅ Base is main
- ❌ Has hotfix label
- ✅ Head is from coder/coder
- ✅ Less than 100 lines
This is no longer a hotfix.
|
@@ -53,7 +53,7 @@ RUN mkdir --parents "$GOPATH" && \ | |||
# charts and values files | |||
go install github.com/norwoodj/helm-docs/cmd/helm-docs@v1.5.0 && \ | |||
# sqlc for Go code generation | |||
go install github.com/sqlc-dev/sqlc/cmd/sqlc@v1.20.0 && \ | |||
(CGO_ENABLED=1 go install github.com/sqlc-dev/sqlc/cmd/sqlc@v1.24.0) && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is annoying, but the postgres engine requires CGO. This is compiling a utility binary, so it doesn't push any CGO into coder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional
Bump sqlc to 1.24.0
Adding support for sqlc vet made sqlc gen require a db connection. Disable that to get previous behavior