feat!: Customizable Slashing and Jailing #1033
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: Protobuf | |
# Protobuf runs buf (https://buf.build/) lint and check-breakage | |
# This workflow is only run when a .proto file has been changed | |
on: | |
pull_request: | |
paths: | |
- "proto/**" | |
permissions: | |
contents: read | |
jobs: | |
break-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: bufbuild/buf-setup-action@v1.46.0 | |
- uses: bufbuild/buf-breaking-action@v1 | |
with: | |
input: "proto" | |
against: "https://github.com/${{ github.repository }}.git#branch=${{ github.event.pull_request.base.ref }},ref=HEAD~1,subdir=proto" |