Skip to content

fix: fix ci error

fix: fix ci error #3

Workflow file for this run

on: # Apply to all pushes to `main`
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/[email protected]
with:
github_token: ${{ github.token }}
- 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 }}
- run: buf mod update
- uses: bufbuild/[email protected]
with:
against: buf.build/bufbuild/buf
buf_token: ${{ secrets.BUF_TOKEN }}
generate:
runs-on: ubuntu-latest
permissions:
contents: write
needs:
- lint
- breaking
steps:
- uses: actions/checkout@v4
- uses: bufbuild/[email protected]
with:
github_token: ${{ github.token }}
- run: rm -rf ./gen && buf generate
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "update: generate new sdk"