mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2026-04-08 17:42:12 +08:00
Time out workflows after 45 minutes
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.
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -44,6 +44,7 @@ jobs:
|
||||
- name: Windows
|
||||
os: windows
|
||||
rust: stable minus 8 releases
|
||||
timeout-minutes: 45
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./
|
||||
|
||||
Reference in New Issue
Block a user