Skip to content

Add buf-breaking-action #7

Add buf-breaking-action

Add buf-breaking-action #7

Workflow file for this run

name: buf
on:
push:
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/[email protected]
breaking:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/[email protected]
with:
against: buf.build/bufbuild/knit
push:
environment: production
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/main'
needs:
- lint
- breaking
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/[email protected]
with:
buf_token: ${{ secrets.BUF_TOKEN }}