3
0
Fork 0
mirror of https://github.com/dtolnay/install.git synced 2024-11-29 19:39:33 +01:00
cargo-install/.github/workflows/ci.yml
David Tolnay 59115418f6
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.
2022-11-24 21:37:30 -08:00

22 lines
372 B
YAML

name: CI
on:
push:
branches: [master]
pull_request:
schedule: [cron: "40 1 * * *"]
permissions:
contents: read
jobs:
install:
name: Rust ${{matrix.rust}}
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: ./
with:
crate: cargo-outdated
- run: cargo outdated --version