build: CI check to verify that the protobuf stubs are up-to-date

This commit is contained in:
Martin Atkins 2021-08-20 16:12:39 -07:00
parent ce96d82de0
commit 960f736bc2
1 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,13 @@ jobs:
git diff --quiet && exit 0 git diff --quiet && exit 0
echo "please run 'go mod tidy' to ensure go.mod and go.sum are up to date" echo "please run 'go mod tidy' to ensure go.mod and go.sum are up to date"
exit 1 exit 1
- run:
name: verify that our protobuf stubs are up-to-date
command: |
make protobuf
git diff --quiet && exit 0
echo "Run 'make protobuf' to ensure that the protobuf stubs are up-to-date."
exit 1
go-test: go-test:
executor: executor: