3
0
Fork 0
mirror of https://github.com/dtolnay/rust-toolchain.git synced 2024-11-22 08:49:30 +01: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:
David Tolnay 2022-11-25 18:56:18 -08:00
parent 55c7845fad
commit e645b0cf01
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -44,6 +44,7 @@ jobs:
- name: Windows - name: Windows
os: windows os: windows
rust: stable minus 8 releases rust: stable minus 8 releases
timeout-minutes: 45
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: ./ - uses: ./