mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-28 00:42:08 +08:00
The paths-filter output in lint-clippy.yml only gated two echo steps; checkout, toolchain setup and clippy itself ran unconditionally, so frontend-only PRs still burned a 3-runner matrix on a full clippy build plus the logging-check tool install. - lint-clippy/rustfmt/frontend-check: move path filters to workflow level so irrelevant PRs spawn no runner at all - split contract-parity into its own workflow; its trigger set spans both sides and workflow paths cannot vary per job - clippy paths now cover crates/** and workspace Cargo files, which the old src-tauri/** filter missed dev has no required status checks, so path-filtered workflows cannot get stuck in "Expected".
24 lines
539 B
JSON
24 lines
539 B
JSON
{
|
|
"contract": [
|
|
"src-tauri/**/*.rs",
|
|
"crates/**/*.rs",
|
|
"Cargo.toml",
|
|
"Cargo.lock",
|
|
"src-tauri/Cargo.toml",
|
|
"crates/**/Cargo.toml",
|
|
"rust-toolchain.toml",
|
|
"src-tauri/tauri.conf*.json",
|
|
"src/services/bindings.ts",
|
|
"scripts/gen-contract.mjs",
|
|
"scripts/check-contract-changes.mjs",
|
|
"biome.json",
|
|
"biome.jsonc",
|
|
"package.json",
|
|
"pnpm-lock.yaml",
|
|
"pnpm-workspace.yaml",
|
|
"scripts/contract-inputs.json",
|
|
".github/workflows/contract-parity.yml",
|
|
".husky/pre-push"
|
|
]
|
|
}
|