From 278abc7ab40223a6e6e6474819af978d6652223d Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 17 Nov 2021 13:33:58 -0800 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9897082..3e2decb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,4 +48,5 @@ jobs: if: github.event_name != 'pull_request' steps: - uses: actions/checkout@v2 + - uses: dtolnay/install@cargo-outdated - run: cargo outdated --exit-code 1