Set timeout-minutes per job
This commit is contained in:
parent
686071e023
commit
10da2873fd
|
@ -9,12 +9,10 @@ on:
|
|||
env:
|
||||
PROJECT_ID: zealous-zebra
|
||||
|
||||
defaults:
|
||||
timeout-minutes: 30
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Google Cloud / Test, Build, and Deploy
|
||||
timeout-minutes: 30
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
|
|
|
@ -2,13 +2,11 @@ name: CI
|
|||
|
||||
on: pull_request
|
||||
|
||||
defaults:
|
||||
timeout-minutes: 30
|
||||
|
||||
jobs:
|
||||
|
||||
test:
|
||||
name: Test on ${{ matrix.os }}
|
||||
timeout-minutes: 30
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -37,6 +35,7 @@ jobs:
|
|||
|
||||
build-chain-no-features:
|
||||
name: Build zebra-chain w/o features on ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
@ -56,6 +55,7 @@ jobs:
|
|||
|
||||
build:
|
||||
name: Build on ${{ matrix.os }}
|
||||
timeout-minutes: 30
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -82,6 +82,7 @@ jobs:
|
|||
|
||||
clippy:
|
||||
name: Clippy
|
||||
timeout-minutes: 30
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -98,6 +99,7 @@ jobs:
|
|||
|
||||
fmt:
|
||||
name: Rustfmt
|
||||
timeout-minutes: 30
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
|
@ -8,13 +8,11 @@ on:
|
|||
branches:
|
||||
- main
|
||||
|
||||
defaults:
|
||||
timeout-minutes: 30
|
||||
|
||||
jobs:
|
||||
|
||||
coverage:
|
||||
name: Coverage
|
||||
timeout-minutes: 30
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
|
@ -5,13 +5,11 @@ on:
|
|||
branches:
|
||||
- main
|
||||
|
||||
defaults:
|
||||
timeout-minutes: 30
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Build and Deploy Docs
|
||||
timeout-minutes: 30
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the source code
|
||||
|
|
Loading…
Reference in New Issue