Skip to content

Commit 12c8542

Browse files
authored
Merge pull request #4164 from tgross35/ci-timeout
ci: Add a timeout for all jobs
2 parents e1d85d5 + e1fe3d8 commit 12c8542

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
style_check:
1818
name: Style check
1919
runs-on: ubuntu-24.04
20+
timeout-minutes: 10
2021
steps:
2122
- uses: actions/checkout@v4
2223
- name: Setup Rust toolchain
@@ -35,6 +36,7 @@ jobs:
3536
- toolchain: beta
3637
os: ubuntu-24.04
3738
runs-on: ${{ matrix.os }}
39+
timeout-minutes: 25
3840
env:
3941
TOOLCHAIN: ${{ matrix.toolchain }}
4042
steps:
@@ -72,6 +74,7 @@ jobs:
7274
- target: i686-pc-windows-msvc
7375
os: windows-2022
7476
runs-on: ${{ matrix.os }}
77+
timeout-minutes: 25
7578
env:
7679
TARGET: ${{ matrix.target }}
7780
steps:
@@ -122,6 +125,7 @@ jobs:
122125
# FIXME: It seems some items in `src/unix/mod.rs`
123126
# aren't defined on redox actually.
124127
# - x86_64-unknown-redox
128+
timeout-minutes: 25
125129
env:
126130
TARGET: ${{ matrix.target }}
127131
steps:
@@ -140,6 +144,7 @@ jobs:
140144
matrix:
141145
target:
142146
- x86_64-pc-solaris
147+
timeout-minutes: 25
143148
steps:
144149
- uses: actions/checkout@v4
145150
- name: test on Solaris
@@ -163,6 +168,7 @@ jobs:
163168
runs-on: ubuntu-24.04
164169
env:
165170
TOOLCHAIN: nightly
171+
timeout-minutes: 10
166172
steps:
167173
- uses: actions/checkout@v4
168174
- name: Setup Rust toolchain

0 commit comments

Comments
 (0)