mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-20 18:56:23 +00:00
ci: increase clippy timeout to 2h and cache target/ for incremental speedup
This commit is contained in:
1 parent
9ada06798d
commit
f1f3f46e30
1 file changed
+15
-9
+15
-9
@@ -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 '*'
|
||||
- |
|
||||
|
||||
Reference in new issue
Block a user