Skip to content

Commit

Permalink
Time out workflows after 45 minutes
Browse files Browse the repository at this point in the history
GitHub's default timeout is 6 hours. Recently some of my GitHub Actions
jobs have started randomly stalling for that long, which is inconvenient
because it ties up a chunk of my runner quota. It apepars to be very
rare for a job to recover after stalling. It's better to time out
quicker and retry on a different runner.
  • Loading branch information
dtolnay committed Nov 26, 2022
1 parent 55c7845 commit e645b0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- name: Windows
os: windows
rust: stable minus 8 releases
timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: ./
Expand Down

0 comments on commit e645b0c

Please sign in to comment.