+20
-2
lines changedFilter options
+20
-2
lines changed Original file line number Diff line number Diff line change
@@ -15,6 +15,13 @@ on:
15
15
- 'requirements.txt'
16
16
- 'docs/examples/demo/**'
17
17
- '.github/workflows/self-test.yml'
18
+
pull_request_target:
19
+
branches: main
20
+
paths:
21
+
- 'action.yml'
22
+
- 'requirements.txt'
23
+
- 'docs/examples/demo/**'
24
+
- '.github/workflows/self-test.yml'
18
25
19
26
jobs:
20
27
test:
Original file line number Diff line number Diff line change
@@ -191,6 +191,13 @@ inputs:
191
191
> The [`no-lgtm`](#no-lgtm) option is applicable to Pull Request reviews.
192
192
required: false
193
193
default: false
194
+
jobs:
195
+
description: |
196
+
The number of jobs to run in parallel.
197
+
If less than or equal to 0, the number of jobs is set to
198
+
use the number of all available CPU cores.
199
+
required: false
200
+
default: 0
194
201
outputs:
195
202
checks-failed:
196
203
description: An integer that can be used as a boolean value to indicate if any checks failed by clang-tidy and clang-format.
@@ -260,7 +267,8 @@ runs:
260
267
--file-annotations=${{ inputs.file-annotations }} \
261
268
--extra-arg="${{ inputs.extra-args }}" \
262
269
--tidy-review="${{ inputs.tidy-review }}" \
263
-
--format-review="${{ inputs.format-review }}"
270
+
--format-review="${{ inputs.format-review }}" \
271
+
--jobs=${{ inputs.jobs }}
264
272
265
273
- name: Setup python venv (Windows)
266
274
if: runner.os == 'Windows'
@@ -295,6 +303,7 @@ runs:
295
303
' --file-annotations=${{ inputs.file-annotations }}' +
296
304
' --extra-arg="${{ inputs.extra-args }}"' +
297
305
' --tidy-review="${{ inputs.tidy-review }}"' +
298
-
' --format-review="${{ inputs.format-review }}"'
306
+
' --format-review="${{ inputs.format-review }}"' +
307
+
' --jobs=${{ inputs.jobs }}'
299
308
300
309
Invoke-Expression -Command $app
Original file line number Diff line number Diff line change
@@ -40,6 +40,8 @@ inputs:
40
40
format-review:
41
41
minimum-version: '2.9.0'
42
42
required-permission: 'pull-requests: write #pull-request-reviews'
43
+
jobs:
44
+
minimum-version: '2.11.0'
43
45
outputs:
44
46
checks-failed:
45
47
minimum-version: '1.2.0'
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4