fix(ci): consolidate check-try-runtime into single superset command

Three sequential cargo check commands were causing a 90m timeout on GitLab
shared runners (no persistent target/ cache). Command 3 (try-runtime,experimental)
is a strict superset of commands 1 and 2:
- cmd 1: --all --features try-runtime → redundant, cmd 3 covers it
- cmd 2: -p teyrchain-template-node --features try-runtime → redundant,
  teyrchain-template-node is in the workspace (templates/teyrchain/node)
  so --all already includes it

Keep only the most comprehensive check. Increase timeout to 120m to give the
single compile sufficient headroom on shared runners (~60-70m observed).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Kurdistan Tech MinistryandClaude Sonnet 4.6 committed 2026-04-25 16:39:57 +03:00
1 parent e5802599f3
commit fd36770895
1 file changed
+4 -3
+4 -3
View File
@@ -183,11 +183,12 @@ check-try-runtime:
needs: [clippy]
variables:
SKIP_WASM_BUILD: "1"
timeout: 90m
timeout: 120m
script:
- git config --global --add safe.directory '*'
- cargo check --locked --all --features try-runtime --quiet
- cargo check --locked -p teyrchain-template-node --features try-runtime
# try-runtime,experimental is a superset — covers the separate try-runtime and
# teyrchain-template-node checks (template node is in the workspace under
# templates/teyrchain/node, so --all already includes it)
- cargo check --locked --all --features try-runtime,experimental --quiet
check-core-crypto-features: