Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(CI): add timeout to CI #4728

Merged
merged 3 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
test:
runs-on: ubuntu-20.04
name: test
timeout-minutes: 60

steps:
- uses: actions/checkout@v3
Expand All @@ -32,6 +33,7 @@ jobs:
lint:
runs-on: ubuntu-20.04
name: lint
timeout-minutes: 60

steps:
- uses: actions/checkout@v3
Expand All @@ -49,6 +51,7 @@ jobs:

build:
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -120,6 +123,8 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

timeout-minutes: 60

steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
lint:
name: code lint
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -49,6 +50,7 @@ jobs:
doc-lint:
name: doc lint
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- name: Install toolchain
Expand All @@ -60,6 +62,7 @@ jobs:
grafana-lint:
name: grafana lint
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- name: Check dashboard JSON with jq
Expand All @@ -72,6 +75,7 @@ jobs:
name: lint success
runs-on: ubuntu-20.04
needs: [lint, doc-lint, grafana-lint]
timeout-minutes: 60
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
strategy:
matrix:
partition: [1, 2]
timeout-minutes: 60
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -71,6 +72,7 @@ jobs:
group: Reth
env:
RUST_LOG: info,sync=error
timeout-minutes: 60
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -99,6 +101,7 @@ jobs:
runs-on:
group: Reth
needs: [test]
timeout-minutes: 60
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
strategy:
matrix:
partition: [1, 2]
timeout-minutes: 60
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -57,6 +58,7 @@ jobs:
group: Reth
env:
RUST_LOG: info,sync=error
timeout-minutes: 60
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -88,6 +90,7 @@ jobs:
name: rustdoc
runs-on:
group: Reth
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- name: Install toolchain
Expand All @@ -101,6 +104,7 @@ jobs:
name: unit success
runs-on: ubuntu-20.04
needs: [test, eth-blockchain, doc-test]
timeout-minutes: 60
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
Expand Down
Loading