From ffe5e1af73d39d0d387c0d158a17cf86789ab40d Mon Sep 17 00:00:00 2001 From: Steven Rhodes Date: Thu, 21 Sep 2023 13:39:16 -0700 Subject: [PATCH] Add a proto incompatibility check --- .github/workflows/{golangci-lint.yml => pr-lint.yml} | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) rename .github/workflows/{golangci-lint.yml => pr-lint.yml} (53%) 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"