From 418c6c92d7282472f0e11127f6b120039c3f37a7 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Thu, 23 Apr 2026 19:34:59 +0300 Subject: [PATCH] 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. --- .gitlab-ci.yml | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 346e7ca8..73fa5f13 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 # ╔══════════════════════════════════════════════════════════════════════════════