diff --git a/.github/workflows/buf.yml b/.github/workflows/buf.yml new file mode 100644 index 00000000..f46088f9 --- /dev/null +++ b/.github/workflows/buf.yml @@ -0,0 +1,18 @@ +name: Buf + +on: + push: + branches: [master] + pull_request: + types: [opened, synchronize, reopened, labeled, unlabeled] + branches: [master] + +permissions: + contents: read + +jobs: + buf-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: bufbuild/buf-action@v1 \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05211501..82a12906 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,23 +5,12 @@ on: branches: - master pull_request: - branches: [master] + types: [opened, synchronize, reopened] env: SLOW_MACHINE: 1 jobs: - buf: - runs-on: ubuntu-latest - - steps: - # Run `git checkout` - - name: Checkout code - uses: actions/checkout@v4 - # Run the `buf` CLI - - name: Buf Action - uses: bufbuild/buf-action@v1 - unit-tests: runs-on: ubuntu-latest