Skip to content

Commit df96c92

Browse files
inoway46aduh95
authored andcommitted
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 <inoueyuya416@gmail.com> PR-URL: #66474 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 9f1db46 commit df96c92

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎.github/workflows/linters.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ jobs:
4141
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4242
with:
4343
persist-credentials: false
44+
# Skip large vendored trees that lint-cpp does not use.
45+
sparse-checkout: |
46+
/*
47+
!/deps/openssl/
48+
!/deps/v8/
49+
sparse-checkout-cone-mode: false
4450
- name: Set up Python ${{ env.PYTHON_VERSION }}
4551
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
4652
with:

0 commit comments

Comments
 (0)