diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 848fffc117a..0065c0bf521 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: