Skip to content

Update copyright (#134) #30

Update copyright (#134)

Update copyright (#134) #30

Workflow file for this run

name: buf
on:
push:
paths:
- 'proto/**'
workflow_dispatch:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-lint-action@v1
with:
buf_token: ${{ secrets.BUF_TOKEN }}
breaking:
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/bufbuild/connect-demo.git#branch=main'
push:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs:
- lint
- breaking
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-push-action@v1
with:
input: 'proto'
buf_token: ${{ secrets.BUF_TOKEN }}