ci: increase clippy timeout to 2h and cache target/ for incremental speedup

This commit is contained in:
Kurdistan Tech Ministry committed 2026-04-23 15:42:39 +03:00
1 parent 9ada06798d
commit f1f3f46e30
1 file changed
+15 -9
+15 -9
View File
@@ -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 '*'
- |