Skip to content

ci: Install protoc from GitHub releases in the shared action - #595

Merged
ebma merged 1 commit into
mainfrom
ci/shared-protoc
Nov 12, 2026
Merged

ebma merged 1 commit into
mainfrom
ci/shared-protoc

Conversation

@ebma

@ebma ebma commented Nov 11, 2026

Copy link
Copy Markdown
Member

What

  • The shared action no longer runs apt-get update && apt-get upgrade and installs protobuf from the Ubuntu mirror. It installs protoc with arduino/setup-protoc instead, the same pinned action the test workflow already used.
  • The test workflow's separate protoc step is removed, since the shared action now covers both clippy and test.

Why

Clippy and test runs on main have been failing in the install step because azure.archive.ubuntu.com did not resolve on the runners. With this change, CI no longer depends on the Ubuntu package mirror, and skipping the full apt-get upgrade shortens every run.

Testing

  • Workflows checked with actionlint.
  • This PR's own clippy and test runs exercise the new step.

The shared action installed protobuf with apt after an apt upgrade, so clippy and test runs failed whenever the Ubuntu package mirror was unreachable from the runners. Install protoc with setup-protoc there instead, which also covers the clippy job, and drop the duplicate step from the test workflow.
@ebma
ebma merged commit fabe042 into main Nov 12, 2026
3 checks passed
@ebma
ebma deleted the ci/shared-protoc branch November 12, 2026 08:10
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.

1 participant