mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-03 10:32:05 +00:00
24 lines
597 B
YAML
24 lines
597 B
YAML
name: Protobuf
|
|
# Protobuf runs buf (https://buf.build/) lint and check-breakage
|
|
# This workflow is only run when a .proto file has been modified
|
|
on:
|
|
workflow_dispatch: # allow running workflow manually
|
|
pull_request:
|
|
paths:
|
|
- "**.proto"
|
|
jobs:
|
|
proto-lint:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 4
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: lint
|
|
run: make proto-lint
|
|
proto-breakage:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 4
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: check-breakage
|
|
run: make proto-check-breaking-ci
|