mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-03 02:22:04 +00:00
This pull request aims to make it possible to generate, format, and lint the protos within this repo. To accomplish that end, the Dockerfile containing common tools for building the tendermint protos has been moved into this repository and several accompanying changes were made to streamline the proto generation process.
25 lines
626 B
YAML
25 lines
626 B
YAML
name: Proto Check
|
|
# Protobuf runs buf (https://buf.build/) lint and check-breakage
|
|
# This workflow is only run when a file in the proto directory
|
|
# 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@v2.4.0
|
|
- name: lint
|
|
run: make proto-lint
|
|
proto-breakage:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 4
|
|
steps:
|
|
- uses: actions/checkout@v2.4.0
|
|
- name: check-breakage
|
|
run: make proto-check-breaking-ci
|