Skip to content

Share protoc setup across api-go workflows - #337

Merged
stephanos merged 6 commits into
mainfrom
align-update-proto-compiler
Dec 2, 2026
Merged

stephanos merged 6 commits into
mainfrom
align-update-proto-compiler

Conversation

@stephanos

@stephanos stephanos commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

What changed?

CI and Update Proto use one shared action that pins setup-protoc and the 23.x compiler series.

Why?

Both workflows should use the same compiler for api-go generation.

Potential risks

With the schema and plugins held fixed, protoc 3.20.3 and 23.4 produced identical Go bindings.

@stephanos
stephanos marked this pull request as ready for review November 24, 2026 02:39
@stephanos
stephanos requested review from a team as code owners November 24, 2026 02:39
@stephanos
stephanos requested a review from mavemuri November 24, 2026 02:39
Comment thread .github/mise.toml Outdated
@@ -0,0 +1,2 @@
[tools]
protoc = "23.4"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Only using mise for CI; not making it required.

@stephanos stephanos changed the title Use the CI protoc version for schema updates Use mise for API-Go workflow tooling Nov 24, 2026
@stephanos stephanos changed the title Use mise for API-Go workflow tooling Share protoc setup across API-Go workflows Nov 24, 2026
@stephanos stephanos changed the title Share protoc setup across API-Go workflows Share protoc setup across api-Go workflows Nov 24, 2026
@stephanos stephanos changed the title Share protoc setup across api-Go workflows Share protoc setup across api-go workflows Nov 24, 2026
@stephanos
stephanos added this pull request to stack #339 November 24, 2026 03:12
@stephanos stephanos mentioned this pull request Nov 24, 2026
@stephanos
stephanos removed this pull request from stack #339 November 24, 2026 03:18
Resolve the composite action from the workflow commit so Update Proto can check out older branches.
Pin protoc 23.4 in CI and put its binary on PATH for the existing Make targets.
Load CI tools from .github/mise.toml and call setup-protoc directly in Update Proto.
Read Go from go.mod in CI and load the workflow commit’s protoc pin when updating a different branch.
@stephanos
stephanos force-pushed the align-update-proto-compiler branch from 41d4bd3 to 1555825 Compare December 2, 2026 03:33
@stephanos
stephanos merged commit e4c3cb4 into main Dec 2, 2026
4 checks passed
@stephanos
stephanos deleted the align-update-proto-compiler branch December 2, 2026 03:36
@stephanos
stephanos restored the align-update-proto-compiler branch December 2, 2026 03:36
@stephanos
stephanos deleted the align-update-proto-compiler branch December 2, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants