diff --git a/.github/workflows/protobuf.yml b/.github/workflows/protobuf.yml new file mode 100644 index 00000000000..c51b4b411d4 --- /dev/null +++ b/.github/workflows/protobuf.yml @@ -0,0 +1,26 @@ +name: protobuf + +on: + pull_request: + workflow_dispatch: + +jobs: + protobuf: + runs-on: ${{ matrix.os }} + timeout-minutes: 10 + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install + run: | + brew install bufbuild/buf/buf + + - name: Lint + run: | + buf lint cylc/flow/data_messages.proto + + - name: Build + run: | + buf build cylc/flow/data_messages.proto