From 160fd5f191152e9cfcd7bf4d5b5c291ac87b03ad Mon Sep 17 00:00:00 2001 From: Nick Snyder Date: Wed, 29 May 2024 19:00:50 -0400 Subject: [PATCH] Add buf build step --- .github/workflows/buf-lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/buf-lint.yml b/.github/workflows/buf-lint.yml index d733401..06bb5cc 100644 --- a/.github/workflows/buf-lint.yml +++ b/.github/workflows/buf-lint.yml @@ -34,6 +34,8 @@ jobs: # Install the `buf` CLI - uses: bufbuild/buf-setup-action@v1 if: ${{ !contains(github.event.pull_request.labels.*.name, 'incompatible protobuf') }} + # Ensure the module builds before running breaking or lint. + - run: buf build --error-format=github-actions # Run breaking change detection against the `main` branch - uses: bufbuild/buf-breaking-action@v1 if: ${{ !contains(github.event.pull_request.labels.*.name, 'incompatible protobuf') }}