From 960f736bc2170e3aad57d2d529d9a315f5a1e741 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Fri, 20 Aug 2021 16:12:39 -0700 Subject: [PATCH] build: CI check to verify that the protobuf stubs are up-to-date --- .circleci/config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 694e5b9ab8..85ec770d77 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,6 +44,13 @@ jobs: git diff --quiet && exit 0 echo "please run 'go mod tidy' to ensure go.mod and go.sum are up to date" 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: executor: