Skip to content

Use buf pinned in Makefile#480

Merged
timostamm merged 4 commits intomainfrom
tstamm/Use-buf-pinned-in-Makefile
Mar 16, 2026
Merged

Use buf pinned in Makefile#480
timostamm merged 4 commits intomainfrom
tstamm/Use-buf-pinned-in-Makefile

Conversation

@timostamm
Copy link
Member

@timostamm timostamm commented Mar 16, 2026

As a follow-up to #479 (comment), use buf pinned in the Makefile in CI.

This also simplifies the call to license-header, similar to bufbuild/protovalidate-go#311 (comment).

The first change does slow down the workflow a bit - while actions/setup-go caches dependency download and compilation, linking the binary isn't cached and still takes more time than to download a precompiled binary (buf-action). IMO the cleaner workflow is worth it though.

@github-actions
Copy link

github-actions bot commented Mar 16, 2026

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedMar 16, 2026, 6:18 PM

@timostamm timostamm marked this pull request as ready for review March 16, 2026 18:25
@timostamm timostamm merged commit 3562f09 into main Mar 16, 2026
9 checks passed
@timostamm timostamm deleted the tstamm/Use-buf-pinned-in-Makefile branch March 16, 2026 18:46
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