Skip to content

Commit

Permalink
fix(ci): use --locked instead of --frozen for lockfile check
Browse files Browse the repository at this point in the history
`--frozen` also forbids network requests which fails in CI because we need to contact the registry in a clean CI container.

Pull-Request: #3589.
  • Loading branch information
thomaseizinger authored Mar 11, 2023
1 parent 83ef657 commit d81f947
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d81f947

Please sign in to comment.