From 2d699aef5c1d63d9c9a3e395496ae7e63c042eff Mon Sep 17 00:00:00 2001 From: inoway46 Date: Sat, 3 Oct 2026 12:58:04 +0900 Subject: [PATCH] tools: limit checkout for lint-cpp Skip the V8 and OpenSSL vendored trees when checking out sources for lint-cpp. Keep other paths included so new directories are checked out by default. Assisted-by: Codex Signed-off-by: inoway46 --- .github/workflows/linters.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 848fffc117a1..0065c0bf5212 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -41,6 +41,12 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false + # Skip large vendored trees that lint-cpp does not use. + sparse-checkout: | + /* + !/deps/openssl/ + !/deps/v8/ + sparse-checkout-cone-mode: false - name: Set up Python ${{ env.PYTHON_VERSION }} uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: