chore: amend local.yaml compose configuration in workspace root #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: protorepo/buf | |
on: | |
# Apply to all pull requests on the main branch | |
pull_request: | |
branches: | |
- main | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
buf: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v4 | |
# Install the `buf` CLI | |
- name: Install buf CLI | |
uses: bufbuild/buf-setup-action@v1 | |
# Check for breaking changes in the 'proto' directory on all pull requests | |
- name: Check for Buf breaking changes | |
uses: bufbuild/buf-breaking-action@v1 | |
with: | |
input: proto | |
against: 'https://github.com/observerly/birpc.git#branch=main,ref=HEAD~1,subdir=proto' | |
# Check for lint errors in the 'proto' directory on all pull requests | |
- name: Check for Buf lint errors | |
uses: bufbuild/buf-lint-action@v1 | |
with: | |
input: proto |