mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-30 17:04:49 +08:00
c98cc3a9e9
Add a changes-detection job (dorny/paths-filter, SHA-pinned) and gate the frontend job, the 3-OS backend matrix, and the WSL2 contract gate on whether the PR actually touches their inputs. About two thirds of merged PRs only touch one side, and docs-only PRs now skip CI entirely. Pushes to main still run everything unconditionally so the caches that PRs restore from stay warm. Path groups mirror .github/labeler.yml, plus rust-toolchain.toml which pins the compiler used by the backend jobs.