From 3e8d9b421c9b05a78465ec2963340625fbc1401c Mon Sep 17 00:00:00 2001 From: Ruihang Xia Date: Fri, 28 Oct 2022 11:01:12 +0800 Subject: [PATCH] chore: set CI timeout (#358) Signed-off-by: Ruihang Xia Signed-off-by: Ruihang Xia --- .github/workflows/coverage.yml | 1 + .github/workflows/develop.yml | 4 ++++ .github/workflows/pr-title-checker.yml | 1 + 3 files changed, 6 insertions(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index ca51be846f..83ff64b89b 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -15,6 +15,7 @@ jobs: grcov: if: github.event.pull_request.draft == false runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: actions/checkout@v2 - uses: arduino/setup-protoc@v1 diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 03cb650659..93aa3bb127 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -12,6 +12,7 @@ jobs: name: Check if: github.event.pull_request.draft == false runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: actions/checkout@v2 - uses: arduino/setup-protoc@v1 @@ -31,6 +32,7 @@ jobs: name: Test Suite if: github.event.pull_request.draft == false runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: actions/checkout@v2 - uses: arduino/setup-protoc@v1 @@ -56,6 +58,7 @@ jobs: name: Rustfmt if: github.event.pull_request.draft == false runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: actions/checkout@v2 - uses: arduino/setup-protoc@v1 @@ -76,6 +79,7 @@ jobs: name: Clippy if: github.event.pull_request.draft == false runs-on: ubuntu-latest + timeout-minutes: 60 steps: - uses: actions/checkout@v2 - uses: arduino/setup-protoc@v1 diff --git a/.github/workflows/pr-title-checker.yml b/.github/workflows/pr-title-checker.yml index 68828ed894..d683c847f4 100644 --- a/.github/workflows/pr-title-checker.yml +++ b/.github/workflows/pr-title-checker.yml @@ -11,6 +11,7 @@ on: jobs: check: runs-on: ubuntu-latest + timeout-minutes: 10 steps: - uses: thehanimo/pr-title-checker@v1.3.4 with: