ci: remove stale target/ cache that caused E0152 duplicate lang item

target-main cache key doesn't invalidate on Cargo.lock changes, so
pre-fix serde_core compiled artifacts were restored into test builds,
reintroducing duplicate alloc lang items after the serde fork fix.
This commit is contained in:
Kurdistan Tech Ministry committed 2026-04-23 19:34:59 +03:00
1 parent f1f3f46e30
commit 418c6c92d7
1 file changed
+8 -14
+8 -14
View File
@@ -45,20 +45,14 @@ default:
- rustup show
- rustc --version && cargo --version
cache:
- key:
files:
- Cargo.lock
- rust-toolchain.toml
paths:
- .cargo/registry/
- .cargo/git/
policy: pull-push
- key: "target-$CI_COMMIT_REF_SLUG"
paths:
- target/
policy: pull-push
fallback_keys:
- "target-$CI_DEFAULT_BRANCH"
key:
files:
- Cargo.lock
- rust-toolchain.toml
paths:
- .cargo/registry/
- .cargo/git/
policy: pull-push
interruptible: true
# ╔══════════════════════════════════════════════════════════════════════════════