fix(ci): serialize and prune target caches
Some checks failed
CI / rust-skia (Rust only) (push) Successful in 2m40s
CI / required (push) Failing after 16m40s

This commit is contained in:
2026-08-13 12:02:33 +00:00
parent d8beeab98d
commit 1098b4d543
3 changed files with 49 additions and 28 deletions

View File

@@ -1067,9 +1067,14 @@ fn validate_workflows(root: &Path, manifest: &CoverageManifest) -> Result<()> {
"push:",
"pull_request:",
"timeout-minutes: 30",
"cancel-in-progress: true",
"group: ci-${{ github.workflow }}",
"cancel-in-progress: false",
"runs-on: ubuntu-latest",
"required-gate",
"flock --exclusive 9",
"rm -f -- \"$cargo_target/.metacrate-ready\"",
"rm -f -- \"$CARGO_TARGET_DIR/.metacrate-ready\"",
"stale_target",
"python3 tools/normalize_git_mtimes.py --state",
".metacrate-mtimes.json\" --check",
"'**/Cargo.toml'",