add timeout for CI (#12803)

Add 1 hour(60 minutes) as the timeout of gitactions.

Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
Wang Yan 2020-08-18 17:49:30 +08:00 committed by GitHub
parent f7e1d186e0
commit af0f36a153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,7 @@ jobs:
runs-on: runs-on:
#- self-hosted #- self-hosted
- ubuntu-latest - ubuntu-latest
timeout-minutes: 60
steps: steps:
- name: Set up Go 1.14 - name: Set up Go 1.14
uses: actions/setup-go@v1 uses: actions/setup-go@v1
@ -92,6 +93,7 @@ jobs:
runs-on: runs-on:
#- self-hosted #- self-hosted
- ubuntu-latest - ubuntu-latest
timeout-minutes: 60
steps: steps:
- name: Set up Go 1.14 - name: Set up Go 1.14
uses: actions/setup-go@v1 uses: actions/setup-go@v1
@ -195,6 +197,7 @@ jobs:
runs-on: runs-on:
#- self-hosted #- self-hosted
- ubuntu-latest - ubuntu-latest
timeout-minutes: 60
steps: steps:
- name: Set up Go 1.14 - name: Set up Go 1.14
uses: actions/setup-go@v1 uses: actions/setup-go@v1
@ -253,6 +256,7 @@ jobs:
runs-on: runs-on:
#- self-hosted #- self-hosted
- ubuntu-latest - ubuntu-latest
timeout-minutes: 60
steps: steps:
- name: Set up Go 1.14 - name: Set up Go 1.14
uses: actions/setup-go@v1 uses: actions/setup-go@v1
@ -309,6 +313,7 @@ jobs:
runs-on: runs-on:
#- self-hosted #- self-hosted
- ubuntu-latest - ubuntu-latest
timeout-minutes: 60
steps: steps:
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with: