mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
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: https://github.com/nodejs/node/pull/66474 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
9f1db461d2
commit
df96c928a2
1 file changed
+6
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user