Browse Source
ci: add timeouts (#4912 )
## 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
pull/4915/head
Marko
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
8 additions and
0 deletions
.github/workflows/lint.yaml
.github/workflows/net.yml
.github/workflows/proto.yml
.github/workflows/tests.yml
@ -11,6 +11,7 @@ jobs:
golangci:
name : golangci-lint
runs-on : ubuntu-latest
timeout-minutes : 4
steps:
- uses : actions/checkout@v2
- uses : technote-space/get-diff-action@v1
@ -15,6 +15,7 @@ on:
jobs:
net-short:
runs-on : ubuntu-latest
timeout-minutes : 4
steps:
- uses : actions/checkout@v2
- name : 10 Blocks
@ -8,12 +8,14 @@ on:
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
@ -21,6 +21,7 @@ jobs:
build:
name : Build
runs-on : ubuntu-latest
timeout-minutes : 4
steps:
- uses : actions/checkout@v2
- uses : technote-space/get-diff-action@v1
@ -47,6 +48,7 @@ jobs:
test_abci_apps:
runs-on : ubuntu-latest
needs : Build
timeout-minutes : 4
steps:
- uses : actions/checkout@v2
- uses : technote-space/get-diff-action@v1
@ -73,6 +75,7 @@ jobs:
test_abci_cli:
runs-on : ubuntu-latest
needs : Build
timeout-minutes : 4
steps:
- uses : actions/checkout@v2
- uses : technote-space/get-diff-action@v1
@ -98,6 +101,7 @@ jobs:
test_apps:
runs-on : ubuntu-latest
needs : Build
timeout-minutes : 4
steps:
- uses : actions/checkout@v2
- uses : technote-space/get-diff-action@v1