ci: restore --frozen build; make cargo fetch --locked unconditional to warm index

This commit is contained in:
James Peter
2025-08-27 11:23:27 +10:00
parent 5769cecd29
commit 5c6bf9fba1
+1 -2
View File
@@ -180,7 +180,6 @@ jobs:
# Prefetch deps so --frozen works even with git deps
- name: Prefetch dependencies (git + registry)
if: steps.rust_cache.outputs.cache-hit != 'true'
working-directory: codex-rs
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
@@ -198,7 +197,7 @@ jobs:
RUST_BACKTRACE: "1"
run: |
cd codex-rs
cargo build --release --locked --timings --target ${{ matrix.target }} --bin code
cargo build --release --frozen --locked --timings --target ${{ matrix.target }} --bin code
- name: sccache stats
shell: bash