@@ -14,12 +14,12 @@ inputs:
14
14
- Any code style supported by the specified version of clang-format.
15
15
required : false
16
16
default : " llvm"
17
- min -version : ' 1.2.0'
17
+ minimum -version : ' 1.2.0'
18
18
extensions :
19
19
description : The file extensions to run the action against. This is a comma-separated string.
20
20
required : false
21
21
default : " c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx"
22
- min -version : ' 1.2.0'
22
+ minimum -version : ' 1.2.0'
23
23
tidy-checks :
24
24
description : |
25
25
Comma-separated list of globs with optional `-` prefix.
@@ -32,14 +32,14 @@ inputs:
32
32
- It is also possible to rely solely on a .clang-tidy config file by specifying this option as a blank string (`''`).
33
33
required : false
34
34
default : " boost-*,bugprone-*,performance-*,readability-*,portability-*,modernize-*,clang-analyzer-*,cppcoreguidelines-*"
35
- min -version : ' 1.2.0'
35
+ minimum -version : ' 1.2.0'
36
36
repo-root :
37
37
description : >
38
38
The relative path to the repository root directory.
39
39
This path is relative to the path designated as the runner's `GITHUB_WORKSPACE` environment variable.
40
40
required : false
41
41
default : ' .'
42
- min -version : ' 1.2.0'
42
+ minimum -version : ' 1.2.0'
43
43
version :
44
44
description : |
45
45
The desired version of the [clang-tools](https://github.com/cpp-linter/clang-tools-pip) to use.
@@ -49,7 +49,7 @@ inputs:
49
49
- This value can also be a path to where the clang tools are installed (if using a custom install location).
50
50
required : false
51
51
default : 12
52
- min -version : ' 1.2.0'
52
+ minimum -version : ' 1.2.0'
53
53
verbosity :
54
54
description : |
55
55
This controls the action's verbosity in the workflow's logs.
@@ -60,7 +60,7 @@ inputs:
60
60
[re-running jobs or workflows](https://docs.github.com/en/actions/managing-workflow-runs/re-running-workflows-and-jobs).
61
61
required : false
62
62
default : info
63
- min -version : ' 1.3.0'
63
+ minimum -version : ' 1.3.0'
64
64
lines-changed-only :
65
65
description : |
66
66
This controls what part of the files are analyzed. The following values are accepted:
@@ -74,7 +74,7 @@ inputs:
74
74
See our [documented permissions](permissions.md)
75
75
required : false
76
76
default : false
77
- min -version : ' 1.5.0'
77
+ minimum -version : ' 1.5.0'
78
78
required-permission : ' content: read #file-changes'
79
79
files-changed-only :
80
80
description : |
@@ -85,7 +85,7 @@ inputs:
85
85
See our [documented permissions](permissions.md)
86
86
required : false
87
87
default : true
88
- min -version : ' 1.3.0'
88
+ minimum -version : ' 1.3.0'
89
89
required-permission : ' content: read #file-changes'
90
90
ignore :
91
91
description : |
@@ -106,7 +106,7 @@ inputs:
106
106
- Glob patterns are not supported here. All asterisk characters (`*`) are literal.
107
107
required : false
108
108
default : ' .github'
109
- min -version : ' 1.3.0'
109
+ minimum -version : ' 1.3.0'
110
110
thread-comments :
111
111
description : |
112
112
This controls the behavior of posted thread comments as feedback. The following options are supported:
@@ -123,7 +123,7 @@ inputs:
123
123
> If run on a private repository, then this feature is disabled because the GitHub REST API behaves differently for thread comments on a private repository.
124
124
required : false
125
125
default : ' false'
126
- min -version : ' 2.6.2'
126
+ minimum -version : ' 2.6.2'
127
127
required-permission : ' issues: write #thread-comments'
128
128
no-lgtm :
129
129
description : |
@@ -135,7 +135,7 @@ inputs:
135
135
and [`format-review`](#format-review) options for further details.
136
136
required : false
137
137
default : true
138
- min -version : ' 2.6.2'
138
+ minimum -version : ' 2.6.2'
139
139
step-summary :
140
140
description : |
141
141
Set this option to true to append content as part of workflow's job summary.
@@ -150,26 +150,26 @@ inputs:
150
150
> The [`no-lgtm`](#no-lgtm) option is _not_ applied to step summaries.
151
151
required : false
152
152
default : false
153
- min -version : ' 2.6.0'
153
+ minimum -version : ' 2.6.0'
154
154
file-annotations :
155
155
description : |
156
156
Set this option to false to disable the use of file annotations as feedback. Defaults to true.
157
157
required : false
158
158
default : true
159
- min -version : ' 1.4.3'
159
+ minimum -version : ' 1.4.3'
160
160
database :
161
161
description : The directory containing compilation database (like compile_commands.json) file.
162
162
required : false
163
163
default : " "
164
- min -version : ' 1.4.0'
164
+ minimum -version : ' 1.4.0'
165
165
extra-args :
166
166
description : |
167
167
A string of extra arguments passed to clang-tidy for use as compiler arguments.
168
168
Multiple arguments are separated by spaces so the argument name and value should
169
169
use an '=' sign instead of a space.
170
170
required : false
171
171
default : " "
172
- min -version : ' 2.1.0'
172
+ minimum -version : ' 2.1.0'
173
173
tidy-review :
174
174
description : |
175
175
Set this option to `true` to enable Pull Request reviews from clang-tidy.
@@ -185,7 +185,7 @@ inputs:
185
185
required : false
186
186
default : false
187
187
experimental : true
188
- min -version : ' 2.9.0'
188
+ minimum -version : ' 2.9.0'
189
189
required-permission : ' pull_request: write #pull-request-reviews'
190
190
format-review :
191
191
description : |
@@ -201,21 +201,21 @@ inputs:
201
201
> The [`no-lgtm`](#no-lgtm) option is applicable to Pull Request reviews.
202
202
required : false
203
203
default : false
204
- min -version : ' 2.9.0'
204
+ minimum -version : ' 2.9.0'
205
205
required-permission : ' pull_request: write #pull-request-reviews'
206
206
outputs :
207
207
checks-failed :
208
208
description : An integer that can be used as a boolean value to indicate if any checks failed by clang-tidy and clang-format.
209
209
value : ${{ steps.cpp-linter-unix.outputs.checks-failed || steps.cpp-linter-windows.outputs.checks-failed }}
210
- min -version : ' 1.2.0'
210
+ minimum -version : ' 1.2.0'
211
211
clang-tidy-checks-failed :
212
212
description : An integer that can be used as a boolean value to indicate if any checks failed by clang-tidy only.
213
213
value : ${{ steps.cpp-linter-unix.outputs.clang-tidy-checks-failed || steps.cpp-linter-windows.outputs.clang-tidy-checks-failed }}
214
- min -version : ' 2.7.2'
214
+ minimum -version : ' 2.7.2'
215
215
clang-format-checks-failed :
216
216
description : An integer that can be used as a boolean value to indicate if any checks failed by clang-format only.
217
217
value : ${{ steps.cpp-linter-unix.outputs.clang-format-checks-failed || steps.cpp-linter-windows.outputs.clang-format-checks-failed }}
218
- min -version : ' 2.7.2'
218
+ minimum -version : ' 2.7.2'
219
219
runs :
220
220
using : " composite"
221
221
steps :
0 commit comments