-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use buf-action in CI #115
Use buf-action in CI #115
Conversation
This updates CI to use the new `buf-action` replacing `buf-setup`, `buf-lint`, `buf-breaking` and `buf-push` unifying these tasks as one. The new behaviour is as follows: - On pull_requests: run lint, format and breaking change detection checks. - On push to main: push the changes of the latest commit with the label of the current branch (main). The following changes were made to support the new aciton: - The file `.bufversion` at the repository root now controls the version. This is read by both the Makefile and the action to fetch the correct version of buf. - Checks no longer block pushes of commits to the BSR. - Formatting checks have been added to `buf-ci.yaml`.
The latest Buf updates on your PR.
|
.github/workflows/buf-ci.yaml
Outdated
@@ -0,0 +1,18 @@ | |||
name: buf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File renamed for improved support for IDEs as buf.yaml
will validate the file as a buf configuration file rather than a GitHub actions workflow file.
PR description needs an update based on changes from review comments (e.g. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what I would expect, but should wait for @bufdev to approve too.
This updates CI to use the new
buf-action
replacingbuf-setup
,buf-lint
,buf-breaking
andbuf-push
unifying these tasks as one. The new behaviour is as follows:Change in behaviour:
1.32.2
, the current latest release.buf-ci.yaml
.