-
Notifications
You must be signed in to change notification settings - Fork 275
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
Make upgrade and update minimum Go version to 1.21 #3123
Conversation
The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).
|
FYI @doriable @oliversun9 @pkwarren I'm keeping this branch up to date in anticipation of 1.23 release, ignoring other dependabots for now |
As a quick follow-up to #3124 and in response to #3124 (comment), this adds a `clean` config key to `v2` `buf.gen.yaml`, for example: ```yaml version: v2 clean: true plugins: - local: custom-gen-go out: gen/go opt: paths=source_relative strategy: directory - protoc_builtin: java out: gen/java ``` When running `buf generate` with the above configs, the outs set to each plugin (e.g. `gen/go` and `gen/java`) will be removed before code generation is run. If `buf generate --clean` flag is set, then that will always take precedence, even if `clean: false` in the configuration. And likewise, if `buf generate --clean=false`, and `clean: true` in the configuration, then we would not delete the out directories. --------- Co-authored-by: Oliver Sun <73540835+oliversun9@users.noreply.github.com> Co-authored-by: Oliver Sun <osun@buf.build> Co-authored-by: bufdev <4228796+bufdev@users.noreply.github.com> Co-authored-by: bufdev <bufdev-github@buf.build>
Likely relies on golangci/golangci-lint#4836 being merged. Also https://hub.docker.com/_/golang needs |
Docker updated in docker-library/golang#529, just waiting on |
Actually now need docker-library/official-images#17359. |
Temporarily downgrading the Docker images to 1.22 until the 1.23 images are available - this actually has no effect since |
This is practically ready for merge once 1.23 is released. Do a
make upgrade
before merging.