Update types in streaming #5
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: Check protos | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- 'main' | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup buf | |
uses: bufbuild/buf-setup-action@v1 | |
with: | |
github_token: ${{ github.token }} | |
- name: Format protos | |
run: buf format --diff --exit-code | |
- name: Lint protos | |
uses: bufbuild/buf-lint-action@v1 | |
- name: Check for breaking changes in protos | |
uses: bufbuild/buf-breaking-action@v1 | |
with: | |
against: 'https://github.com/${GITHUB_REPOSITORY}.git#branch=main' |