Skip to content

feat(private): making it usable outside of buf #1

feat(private): making it usable outside of buf

feat(private): making it usable outside of buf #1

Workflow file for this run

name: buf
on:
push:
paths:
- 'proto/**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.30.1
with:
github_token: ${{ github.token }}
- uses: bufbuild/buf-lint-action@v1.1.1
with:
buf_token: ${{ secrets.BUF_TOKEN }}
breaking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.30.1
with:
github_token: ${{ github.token }}
- uses: bufbuild/buf-breaking-action@v1.1.4
with:
against: buf.build/bufbuild/buf
buf_token: ${{ secrets.BUF_TOKEN }}
push:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs:
- lint
- breaking
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.30.1
with:
github_token: ${{ github.token }}
- uses: bufbuild/buf-push-action@v1.2.0
with:
input: 'proto'
buf_token: ${{ secrets.BUF_TOKEN }}