From c6452d95eeb996b923e8ffb2a51044fc141e4998 Mon Sep 17 00:00:00 2001 From: FredApps <153173854+FredApps@users.noreply.github.com> Date: Mon, 23 Nov 2026 08:59:12 +0700 Subject: [PATCH] ci: allow excluded vendor trees in the unreached-rs check hayro-interpret is excluded from the workspace, so editing vendor/hayro-interpret/src/context.rs failed the Linux lint leg's diff-mode unreached-rs check. Those backends compile in scripts/test-pdf-backends.sh, not as workspace members. --- .github/workflows/workspace.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index 246cdf64d..7fdd316f1 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -76,6 +76,15 @@ jobs: cache-workspace-crates: true cold-build: ${{ github.event.schedule == '17 0 * * *' }} lint-cache: false + # Vendored PDF/graphics backends are excluded from the workspace (Cargo.toml) and + # compile in scripts/test-pdf-backends.sh. The unreached-rs diff check would + # otherwise fail any edit under vendor/ as a file no workspace module reaches. + unreached-rs-allow: | + **/fixtures/** + vendor/hayro*/** + vendor/krilla/** + vendor/linesweeper/** + vendor/vello_*/** timeout-minutes: &timeout 120 # Every leg runs its tests with nextest, and its doctests with cargo test (.config/nextest.toml). tools: &tools cargo-nextest@0.9.150