diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/pr-lint.yml similarity index 53% rename from .github/workflows/golangci-lint.yml rename to .github/workflows/pr-lint.yml index 18d2515b..1ec7a051 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -5,7 +5,7 @@ permissions: contents: read jobs: golangci: - name: lint + name: golangci lint runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -17,3 +17,12 @@ jobs: with: version: latest args: --timeout=5m + buf-breaking: + name: incompatible proto changes + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: bufbuild/buf-setup-action@v1 + - uses: bufbuild/buf-breaking-action@v1 + with: + against: "https://github.com/Snowflake-Labs/sansshell.git#branch=main"