Skip to content
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

ci: Switch Protobuf checks to non-deprecated bufbuild/buf-action #18037

Closed
wants to merge 11 commits into from

Conversation

notpeter
Copy link
Member

@notpeter notpeter commented Sep 18, 2024

Switch to bufbuild/buf-action as the existing actions we're using have been deprecated:

  • bufbuild/buf-breaking-action@v1
  • bufbuild/buf-setup-action

See: Deprecation notice (2024-08-01).

Enabling format and breaking_action but disable lint as that is a bit aggressive.

Release Notes:

  • N/A

- bufbuild/buf-setup-action [has been deprecated](bufbuild/buf-setup-action@3de295e) since 2024-08-01.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Sep 18, 2024
@notpeter notpeter changed the title ci: Switch Proto-buf checks to non-deprecated bufbuild/buf-action. ci: Switch Proto-buf checks to non-deprecated bufbuild/buf-action Sep 18, 2024
@maxdeviant maxdeviant changed the title ci: Switch Proto-buf checks to non-deprecated bufbuild/buf-action ci: Switch Protobuf checks to non-deprecated bufbuild/buf-action. Sep 18, 2024
Co-authored-by: Marshall Bowers <[email protected]>
@notpeter notpeter changed the title ci: Switch Protobuf checks to non-deprecated bufbuild/buf-action. ci: Switch Protobuf checks to non-deprecated bufbuild/buf-action Sep 18, 2024
Copy link

github-actions bot commented Sep 18, 2024

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

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed⏩ skipped❌ failed (0)Oct 1, 2024, 2:57 AM

@notpeter
Copy link
Member Author

I may break this into multiple PRs. One whitespace only commit (buf format -w) for .git-blame-ignore-revs and then any actual changes in another PR.

@notpeter notpeter self-assigned this Sep 19, 2024
@notpeter notpeter marked this pull request as draft October 1, 2024 02:59
@@ -4,2497 +4,2496 @@ package zed.messages;
// Looking for a number? Search "// current max"

message PeerId {
uint32 owner_id = 1;
uint32 id = 2;
uint32 owner_id = 1;
Copy link
Member

Choose a reason for hiding this comment

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

Is there a way we can keep the protobuf file formatted with 4 spaces? Feels like that matches up with the rest of our code, which all uses 4 spaces.

@notpeter
Copy link
Member Author

notpeter commented Oct 4, 2024

Couldn't get the core functionality we want (detect breaking changes against branch merge target) so giving up for now.

@notpeter notpeter closed this Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants