Explicitly install a Rust toolchain for cargo-outdated job

Debugging a recent cargo-outdated bug, it would have been nice not to
wonder whether a rustc version change in GitHub's runner image was a
contributing factor.
This commit is contained in:
David Tolnay 2024-03-25 22:24:55 -07:00
parent 3bfab6ef7f
commit 74d06708dd
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -168,5 +168,6 @@ jobs:
timeout-minutes: 45 timeout-minutes: 45
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/install@cargo-outdated - uses: dtolnay/install@cargo-outdated
- run: cargo outdated --workspace --exit-code 1 - run: cargo outdated --workspace --exit-code 1