-
Notifications
You must be signed in to change notification settings - Fork 277
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
Pull in new versions from makego
#3342
Conversation
The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).
|
# https://github.com/bufbuild/buf/releases 20240521 checked 20240524 | ||
BUF_VERSION ?= v1.32.1 | ||
# https://github.com/bufbuild/buf/releases 20240911 checked 20240916 | ||
BUF_VERSION ?= v1.41.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.
FWIW we're on v1.42.0 now, but not that important.
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.
Yeah, this won't affect bufbuild/buf
, but it's a good note to update makego
for our other projects.
# TODO: Change back to released version once bug is fixed | ||
PROTOC_GEN_GO_VERSION ?= 94ecbc26168965a670a0f7cf86f658131c790a9c | ||
# https://github.com/protocolbuffers/protobuf-go/releases 20240906 checked 20240916 | ||
PROTOC_GEN_GO_VERSION ?= v1.34.3-0.20240906163944-03df6c145d96 |
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.
Why is this being done? We have always used commits here, not Go pseudo-versions
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.
Looks like this was approved in https://github.com/bufbuild/makego/pull/153/files
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.
OK it's fine
This pulls in the latest versions from
makego
and runsmake upgrade
.This adds a new check from
golangci-lint
,G115
, which checks for overflowfrom integer conversions. This PR includes fixes and exemptions for this check.
The check has several false positives that are still being worked on (a link to the
issue is included in the comments in
.golangci.yml
) so exemptions have been addedto address false positives and/or known safe operations.