From f1f3f46e30494b1d5d5a80dbe55073ff055d0e5e Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Thu, 23 Apr 2026 15:42:39 +0300 Subject: [PATCH] ci: increase clippy timeout to 2h and cache target/ for incremental speedup --- .gitlab-ci.yml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d541174..346e7ca8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,14 +45,20 @@ default: - rustup show - rustc --version && cargo --version cache: - key: - files: - - Cargo.lock - - rust-toolchain.toml - paths: - - .cargo/registry/ - - .cargo/git/ - policy: pull-push + - 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" interruptible: true # ╔══════════════════════════════════════════════════════════════════════════════ @@ -163,7 +169,7 @@ clippy: needs: [fmt] variables: SKIP_WASM_BUILD: "1" - timeout: 90m + timeout: 2h script: - git config --global --add safe.directory '*' - |