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

Use buf-action in CI #115

Merged
merged 5 commits into from
Jun 4, 2024
Merged

Use buf-action in CI #115

merged 5 commits into from
Jun 4, 2024

Commits on Jun 3, 2024

  1. Use buf-action in CI

    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`.
    emcfarlane committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    4f8001b View commit details
    Browse the repository at this point in the history
  2. Drop .bufversion file

    emcfarlane committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    bf9b59a View commit details
    Browse the repository at this point in the history
  3. Set explicitly in action

    emcfarlane committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    ebcaf42 View commit details
    Browse the repository at this point in the history
  4. Enable sync on branches

    emcfarlane committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    0a45039 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fe92ce8 View commit details
    Browse the repository at this point in the history