Skip to content

Merge branch 'main' into bufmod #1719

Merge branch 'main' into bufmod

Merge branch 'main' into bufmod #1719

Workflow file for this run

name: buf
on:
push:
paths:
- 'proto/**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
#- uses: bufbuild/[email protected]
#with:
#github_token: ${{ github.token }}
- uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- run: go install ./cmd/buf
- uses: bufbuild/[email protected]
with:
buf_token: ${{ secrets.BUF_TOKEN }}
breaking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
#- uses: bufbuild/[email protected]
#with:
#github_token: ${{ github.token }}
- uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- run: go install ./cmd/buf
- uses: bufbuild/[email protected]
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/[email protected]
#with:
#github_token: ${{ github.token }}
- uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- run: go install ./cmd/buf
- uses: bufbuild/[email protected]
with:
input: 'proto'
buf_token: ${{ secrets.BUF_TOKEN }}