Skip to content

Commit d045d74

Browse files
committed
ci: Add a timeout for all jobs
1 parent 4058267 commit d045d74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ jobs:
247247
miri:
248248
name: Miri
249249
runs-on: ubuntu-24.04
250+
timeout-minutes: 10
250251
steps:
251252
- uses: actions/checkout@v4
252253
with:
@@ -282,6 +283,7 @@ jobs:
282283
rustfmt:
283284
name: Rustfmt
284285
runs-on: ubuntu-24.04
286+
timeout-minutes: 10
285287
steps:
286288
- uses: actions/checkout@v4
287289
with:
@@ -347,6 +349,7 @@ jobs:
347349
- rustfmt
348350
- test
349351
runs-on: ubuntu-24.04
352+
timeout-minutes: 10
350353
# GitHub branch protection is exceedingly silly and treats "jobs skipped because a dependency
351354
# failed" as success. So we have to do some contortions to ensure the job fails if any of its
352355
# dependencies fails.

0 commit comments

Comments
 (0)