File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,11 @@ inputs:
107
107
description : Set this to true to enable PR reviews from clang-format.See also https://cpp-linter.github.io/cpp-linter/pr_review_caveats.html
108
108
required : false
109
109
default : false
110
+ jobs :
111
+ description : |
112
+ 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.
113
+ required : false
114
+ default : 0
110
115
outputs :
111
116
checks-failed :
112
117
description : An integer that can be used as a boolean value to indicate if any checks failed by clang-tidy and clang-format.
@@ -176,7 +181,8 @@ runs:
176
181
--file-annotations=${{ inputs.file-annotations }} \
177
182
--extra-arg="${{ inputs.extra-args }}" \
178
183
--tidy-review="${{ inputs.tidy-review }}" \
179
- --format-review="${{ inputs.format-review }}"
184
+ --format-review="${{ inputs.format-review }}" \
185
+ --jobs=${{ inputs.jobs }}
180
186
181
187
- name : Setup python venv (Windows)
182
188
if : runner.os == 'Windows'
@@ -211,6 +217,7 @@ runs:
211
217
' --file-annotations=${{ inputs.file-annotations }}' +
212
218
' --extra-arg="${{ inputs.extra-args }}"' +
213
219
' --tidy-review="${{ inputs.tidy-review }}"' +
214
- ' --format-review="${{ inputs.format-review }}"'
220
+ ' --format-review="${{ inputs.format-review }}"' +
221
+ ' --jobs=${{ inputs.jobs }}'
215
222
216
223
Invoke-Expression -Command $app
You can’t perform that action at this time.
0 commit comments