| 1 | name: Buf |
| 2 | |
| 3 | on: |
| 4 | pull_request: |
| 5 | paths: |
| 6 | - "rust/proto/**" |
| 7 | - ".github/workflows/buf.yml" |
| 8 | |
| 9 | permissions: |
| 10 | contents: read |
| 11 | |
| 12 | concurrency: |
| 13 | group: ${{ github.workflow }}-${{ github.ref }} |
| 14 | cancel-in-progress: ${{ github.event_name == 'pull_request' }} |
| 15 | |
| 16 | jobs: |
| 17 | proto: |
| 18 | runs-on: ubuntu-latest |
| 19 | steps: |
| 20 | - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 |
| 21 | - uses: bufbuild/buf-action@8c6a16e16f12ba20b6470afa9c2ba9b5ba8c97c3 # v1.5.0 |
| 22 | with: |
| 23 | version: 1.72.0 |
| 24 | input: rust/proto |
| 25 | format: false |
| 26 | breaking: false |
| 27 | pr_comment: false |
| 28 | push: false |