Install newest build of cargo-outdated

The old version available by default in the GitHub Actions image fails
with:

    thread 'main' panicked at 'package cache lock is not currently held, Cargo forgot to call `acquire_package_cache_lock` before we got to this stack frame', /usr/share/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.57.0/src/cargo/util/config/mod.rs:1542:9
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
This commit is contained in:
David Tolnay 2021-11-17 13:35:22 -08:00
parent eca862190a
commit a243a5e2bc
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -36,4 +36,5 @@ jobs:
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: dtolnay/install@cargo-outdated
- run: cargo outdated --exit-code 1 - run: cargo outdated --exit-code 1