Skip to content

buf: Update CI workflows to use buf for proto generation#160

Merged
wenchy merged 10 commits intomasterfrom
buf-generate
Apr 22, 2026
Merged

buf: Update CI workflows to use buf for proto generation#160
wenchy merged 10 commits intomasterfrom
buf-generate

Conversation

@Kybxd
Copy link
Copy Markdown
Collaborator

@Kybxd Kybxd commented Apr 9, 2026

The CI workflows for testing C++, C#, and Go are updated to use buf setup action and buf generate command for protocol buffer generation, replacing the previous gen.sh/gen.bat scripts.
@Kybxd Kybxd added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Apr 9, 2026
Comment thread .github/workflows/testing-cpp.yml
Comment thread .github/workflows/testing-cpp.yml Outdated
Comment on lines +29 to +31
buf_generate: cmd /C "set
PATH=..\..\third_party\_submodules\protobuf\cmake\build;%PATH% &&
buf generate .."
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why need the PATH?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

protoc-gen-cpp is the build-in plugin of protoc. When this plugin is used in buf.gen.yaml, buf will search $PATH for protoc executable file, so we need to add the protoc we compiled to $PATH.

opt:
- paths=source_relative
- pkg=loader
strategy: all No newline at end of file
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upgrade go.mod go version to go 1.24 (align to tableau)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is upgraded in another PR #157.

@wenchy wenchy changed the title chore(test): Update CI workflows to use buf for proto generation buf: Update CI workflows to use buf for proto generation Apr 22, 2026
@wenchy wenchy merged commit e6150e3 into master Apr 22, 2026
7 of 8 checks passed
@wenchy wenchy deleted the buf-generate branch April 22, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants