mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 06:15:33 +00:00
## Description Add Timeouts to Github action jobs. The goal of adding timeouts is so if a job is hanging on something it gets killed and the author will get notified. I picked these times based on previous circle and Github action times then doubled & in some places tripled the times. Closes: #XXX
23 lines
550 B
YAML
23 lines
550 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:
|
|
pull_request:
|
|
paths:
|
|
- "**.proto"
|
|
jobs:
|
|
proto-lint:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 4
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: lint
|
|
run: make proto-lint
|
|
proto-breakage:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 4
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: check-breakage
|
|
run: make proto-check-breaking-ci
|