mirror of
https://github.com/dtolnay/install.git
synced 2024-11-29 19:39:33 +01:00
59115418f6
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.
22 lines
372 B
YAML
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
|