File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -214,6 +214,11 @@ inputs:
214
214
default : false
215
215
minimum-version : ' 2.9.0'
216
216
required-permission : ' pull_request: write #pull-request-reviews'
217
+ jobs :
218
+ description : |
219
+ The number of jobs to run in parallel. If <= 0, the number of jobs is set to use the number of all available CPU cores.
220
+ required : false
221
+ default : 0
217
222
outputs :
218
223
checks-failed :
219
224
description : An integer that can be used as a boolean value to indicate if any checks failed by clang-tidy and clang-format.
@@ -286,7 +291,8 @@ runs:
286
291
--file-annotations=${{ inputs.file-annotations }} \
287
292
--extra-arg="${{ inputs.extra-args }}" \
288
293
--tidy-review="${{ inputs.tidy-review }}" \
289
- --format-review="${{ inputs.format-review }}"
294
+ --format-review="${{ inputs.format-review }}" \
295
+ --jobs=${{ inputs.jobs }}
290
296
291
297
- name : Setup python venv (Windows)
292
298
if : runner.os == 'Windows'
@@ -321,6 +327,7 @@ runs:
321
327
' --file-annotations=${{ inputs.file-annotations }}' +
322
328
' --extra-arg="${{ inputs.extra-args }}"' +
323
329
' --tidy-review="${{ inputs.tidy-review }}"' +
324
- ' --format-review="${{ inputs.format-review }}"'
330
+ ' --format-review="${{ inputs.format-review }}"' +
331
+ ' --jobs=${{ inputs.jobs }}'
325
332
326
333
Invoke-Expression -Command $app
You can’t perform that action at this time.
0 commit comments