From d81f9476f72a6eb1d4bc683ad04b3fdf866cfc12 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Sat, 11 Mar 2023 20:54:32 +1100 Subject: [PATCH] fix(ci): use `--locked` instead of `--frozen` for lockfile check `--frozen` also forbids network requests which fails in CI because we need to contact the registry in a clean CI container. Pull-Request: #3589. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1caec0f..2111098c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -294,4 +294,5 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: cargo metadata --frozen --format-version=1 > /dev/null + - uses: Swatinem/rust-cache@6fd3edff6979b79f87531400ad694fb7f2c84b1f # v2.2.1 + - run: cargo metadata --locked --format-version=1 > /dev/null