Switch to proto opaque api #211
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: proto | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_call: | |
jobs: | |
run: | |
name: Proto | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Check proto diff | |
run: go tool buf generate proto && git diff --exit-code | |
- name: Buf lint | |
run: go tool buf lint proto | |
- name: Buf breaking | |
run: go tool buf breaking proto --against "https://github.com/${GITHUB_REPOSITORY}.git#branch=main,subdir=proto" |