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.
This commit is contained in:
Thomas Eizinger 2023-03-11 20:54:32 +11:00 committed by GitHub
parent 83ef657500
commit d81f9476f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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