Skip to content

Commit 83f71f0

Browse files
committed
Add 60 minute timeout to CI jobs
We ran out of our CI limit largely from ldk-node. We had a few jobs this week run for multiple hours because of a hanging test. Add 60 minute timeout to all our jobs to prevent this in the future.
1 parent 8a54260 commit 83f71f0

14 files changed

Lines changed: 17 additions & 1 deletion

.github/workflows/audit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
jobs:
88
audit:
9+
timeout-minutes: 60
910
permissions:
1011
issues: write
1112
checks: write

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ concurrency:
88

99
jobs:
1010
benchmark:
11+
timeout-minutes: 60
1112
runs-on: ubuntu-latest
1213
env:
1314
TOOLCHAIN: stable

.github/workflows/cln-integration.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ concurrency:
88

99
jobs:
1010
check-cln:
11+
timeout-minutes: 60
1112
runs-on: ubuntu-latest
1213
steps:
1314
- name: Checkout repository

.github/workflows/cron-weekly-rustfmt.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
jobs:
1212
format:
1313
name: Nightly rustfmt
14+
timeout-minutes: 60
1415
runs-on: ubuntu-24.04
1516
steps:
1617
- uses: actions/checkout@v6

.github/workflows/eclair-integration.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ concurrency:
88

99
jobs:
1010
check-eclair:
11+
timeout-minutes: 60
1112
runs-on: ubuntu-latest
1213
steps:
1314
- name: Checkout repository

.github/workflows/hrn-integration.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ concurrency:
88

99
jobs:
1010
build-and-test:
11+
timeout-minutes: 60
1112
runs-on: ubuntu-latest
1213

1314
steps:
@@ -42,4 +43,4 @@ jobs:
4243
- name: Run HRN Integration Tests
4344
run: |
4445
RUSTFLAGS="--cfg no_download --cfg hrn_tests $RUSTFLAGS" cargo test --test integration_tests_hrn
45-
RUSTFLAGS="--cfg no_download --cfg hrn_tests $RUSTFLAGS" cargo test --test integration_tests_hrn --features uniffi
46+
RUSTFLAGS="--cfg no_download --cfg hrn_tests $RUSTFLAGS" cargo test --test integration_tests_hrn --features uniffi

.github/workflows/kotlin.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ concurrency:
88

99
jobs:
1010
check-kotlin:
11+
timeout-minutes: 60
1112
runs-on: ubuntu-latest
1213

1314
env:

.github/workflows/lnd-integration.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ concurrency:
88

99
jobs:
1010
check-lnd:
11+
timeout-minutes: 60
1112
runs-on: ubuntu-latest
1213
steps:
1314
- name: Checkout repository

.github/workflows/python.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ concurrency:
88

99
jobs:
1010
check-python:
11+
timeout-minutes: 60
1112
runs-on: ubuntu-latest
1213

1314
env:

.github/workflows/rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ concurrency:
88

99
jobs:
1010
build:
11+
timeout-minutes: 60
1112
strategy:
1213
matrix:
1314
platform: [
@@ -92,6 +93,7 @@ jobs:
9293
9394
linting:
9495
name: Linting
96+
timeout-minutes: 60
9597
runs-on: ubuntu-latest
9698
steps:
9799
- name: Checkout source code
@@ -107,6 +109,7 @@ jobs:
107109
108110
doc:
109111
name: Documentation
112+
timeout-minutes: 60
110113
runs-on: ubuntu-latest
111114
env:
112115
RUSTDOCFLAGS: -Dwarnings

0 commit comments

Comments
 (0)