Commit 21cf572
authored
[build] Enforce coding standard for grammars. (#3875)
* Update static checking to include coding standard format.
* Shunt output to stderr so Github Actions will make a copy of the error messages to a top-level summary.
* Test everything if there are no grammars to test.
* Parallelize static tests.
* Undo install of js.
* Remove ".".
* Do not do ".".
* Fix other block of statements for ".".
* Try this first for warning.
* Another try, from doc,
https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#about-workflow-commands
* Try this, directly from the github docs.
* Update with annotations.
* Add automatic reformat on merge with master.
* Add fixes discovered with "test-3875" repo.
https://github.com/kaby76/test-3875
* Update main.yml
* Add in explicit coding style for grammars.
* Add in "naive check" for manual deletions of existing antlr-format changes.
People should not change the antlr-format strings. #3875 (comment)1 parent 412a13e commit 21cf572
File tree
4 files changed
+509
-64
lines changed- .github/workflows
- _scripts
4 files changed
+509
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
29 | 64 | | |
30 | 65 | | |
31 | 66 | | |
| |||
157 | 192 | | |
158 | 193 | | |
159 | 194 | | |
160 | | - | |
| 195 | + | |
161 | 196 | | |
162 | 197 | | |
163 | 198 | | |
164 | 199 | | |
165 | 200 | | |
166 | | - | |
| 201 | + | |
167 | 202 | | |
168 | 203 | | |
169 | 204 | | |
| |||
195 | 230 | | |
196 | 231 | | |
197 | 232 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | 233 | | |
216 | 234 | | |
217 | 235 | | |
| |||
228 | 246 | | |
229 | 247 | | |
230 | 248 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | 249 | | |
241 | 250 | | |
242 | 251 | | |
| |||
255 | 264 | | |
256 | 265 | | |
257 | 266 | | |
258 | | - | |
| 267 | + | |
259 | 268 | | |
260 | 269 | | |
0 commit comments