Fix panic when using a repeated field as a predefined rule (#149) #248
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Buf | |
on: | |
push: | |
branches: [ main ] | |
tags: [ 'v*' ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: { } # support manual runs | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
validate-protos: | |
name: Validate protos | |
if: ${{ github.event_name == 'pull_request'}} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Buf CI | |
uses: bufbuild/buf-action@v1 | |
with: | |
github_token: ${{ github.token }} | |
token: ${{ secrets.BUF_TOKEN }} | |
format: true | |
lint: true | |
breaking: true | |
push: false | |
archive: false | |
- name: Check Generate | |
run: make checkgenerate |