diff --git a/.github/workflows/protobuf.yml b/.github/workflows/protobuf.yml index da70a5db3..73def1c24 100644 --- a/.github/workflows/protobuf.yml +++ b/.github/workflows/protobuf.yml @@ -22,6 +22,11 @@ jobs: with: submodules: true + - name: Check Build Setup + run: | + ( result=0 ; for f in *.proto ; do grep -wq "$f" CMakeLists.txt || { echo "Missing $f in CMakeLists.txt" && let "result++"; } ; done ; exit $result ) + ( result=0 ; for f in *.proto ; do grep -q '"'$f'"' setup.py || { echo "Missing $f in setup.py" && let "result++"; } ; done ; exit $result ) + - name: Setup Python uses: actions/setup-python@v5 with: