Testing buf breaking (#7475)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-02-07 13:55:36 -07:00 committed by GitHub
parent 5ded86543b
commit eaadf56db9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 6 deletions

View file

@ -22,9 +22,3 @@ runs:
run: |
export SQUAWK_GITHUB_TOKEN=${{ github.token }}
. ./script/squawk
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-breaking-action@v1
with:
input: "crates/rpc/proto/"
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=main,subdir=crates/rpc/proto/"

View file

@ -48,6 +48,17 @@ jobs:
- name: Run style checks
uses: ./.github/actions/check_style
- name: Ensure fresh merge
run: |
git checkout -B temp
git merge -q origin/main -m "merge main into temp"
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-breaking-action@v1
with:
input: "crates/rpc/proto/"
against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=main,subdir=crates/rpc/proto/"
tests:
name: Run tests
runs-on: