@@ -40,16 +40,16 @@ jobs:
40
40
- name : mono_repo self validate
41
41
run : dart pub global run mono_repo generate --validate
42
42
job_002 :
43
- name : " analyzer_and_format; Dart 2.19.0; PKGS: _test_yaml, checked_yaml, example, json_annotation, json_serializable; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`"
43
+ name : " analyzer_and_format; Dart 2.19.0; PKGS: _test_yaml, checked_yaml, example, json_serializable; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`"
44
44
runs-on : ubuntu-latest
45
45
steps :
46
46
- name : Cache Pub hosted dependencies
47
47
uses : actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
48
48
with :
49
49
path : " ~/.pub-cache/hosted"
50
- key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.19.0;packages:_test_yaml-checked_yaml-example-json_annotation- json_serializable;commands:format-analyze "
50
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.19.0;packages:_test_yaml-checked_yaml-example-json_serializable;commands:format-analyze_0 "
51
51
restore-keys : |
52
- os:ubuntu-latest;pub-cache-hosted;sdk:2.19.0;packages:_test_yaml-checked_yaml-example-json_annotation- json_serializable
52
+ os:ubuntu-latest;pub-cache-hosted;sdk:2.19.0;packages:_test_yaml-checked_yaml-example-json_serializable
53
53
os:ubuntu-latest;pub-cache-hosted;sdk:2.19.0
54
54
os:ubuntu-latest;pub-cache-hosted
55
55
os:ubuntu-latest
99
99
run : dart analyze --fatal-infos .
100
100
if : " always() && steps.example_pub_upgrade.conclusion == 'success'"
101
101
working-directory : example
102
- - id : json_annotation_pub_upgrade
103
- name : json_annotation; dart pub upgrade
104
- run : dart pub upgrade
105
- if : " always() && steps.checkout.conclusion == 'success'"
106
- working-directory : json_annotation
107
- - name : " json_annotation; dart format --output=none --set-exit-if-changed ."
108
- run : " dart format --output=none --set-exit-if-changed ."
109
- if : " always() && steps.json_annotation_pub_upgrade.conclusion == 'success'"
110
- working-directory : json_annotation
111
- - name : " json_annotation; dart analyze --fatal-infos ."
112
- run : dart analyze --fatal-infos .
113
- if : " always() && steps.json_annotation_pub_upgrade.conclusion == 'success'"
114
- working-directory : json_annotation
115
102
- id : json_serializable_pub_upgrade
116
103
name : json_serializable; dart pub upgrade
117
104
run : dart pub upgrade
@@ -126,14 +113,44 @@ jobs:
126
113
if : " always() && steps.json_serializable_pub_upgrade.conclusion == 'success'"
127
114
working-directory : json_serializable
128
115
job_003 :
116
+ name : " analyzer_and_format; Dart 2.19.0; PKG: json_annotation; `dart analyze`"
117
+ runs-on : ubuntu-latest
118
+ steps :
119
+ - name : Cache Pub hosted dependencies
120
+ uses : actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
121
+ with :
122
+ path : " ~/.pub-cache/hosted"
123
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.19.0;packages:json_annotation;commands:analyze_1"
124
+ restore-keys : |
125
+ os:ubuntu-latest;pub-cache-hosted;sdk:2.19.0;packages:json_annotation
126
+ os:ubuntu-latest;pub-cache-hosted;sdk:2.19.0
127
+ os:ubuntu-latest;pub-cache-hosted
128
+ os:ubuntu-latest
129
+ - name : Setup Dart SDK
130
+ uses : dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
131
+ with :
132
+ sdk : " 2.19.0"
133
+ - id : checkout
134
+ name : Checkout repository
135
+ uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
136
+ - id : json_annotation_pub_upgrade
137
+ name : json_annotation; dart pub upgrade
138
+ run : dart pub upgrade
139
+ if : " always() && steps.checkout.conclusion == 'success'"
140
+ working-directory : json_annotation
141
+ - name : json_annotation; dart analyze
142
+ run : dart analyze
143
+ if : " always() && steps.json_annotation_pub_upgrade.conclusion == 'success'"
144
+ working-directory : json_annotation
145
+ job_004 :
129
146
name : " analyzer_and_format; Dart dev; PKGS: _test_yaml, checked_yaml, example, json_annotation, json_serializable; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`"
130
147
runs-on : ubuntu-latest
131
148
steps :
132
149
- name : Cache Pub hosted dependencies
133
150
uses : actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
134
151
with :
135
152
path : " ~/.pub-cache/hosted"
136
- key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test_yaml-checked_yaml-example-json_annotation-json_serializable;commands:format-analyze "
153
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test_yaml-checked_yaml-example-json_annotation-json_serializable;commands:format-analyze_0 "
137
154
restore-keys : |
138
155
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test_yaml-checked_yaml-example-json_annotation-json_serializable
139
156
os:ubuntu-latest;pub-cache-hosted;sdk:dev
@@ -211,7 +228,7 @@ jobs:
211
228
run : dart analyze --fatal-infos .
212
229
if : " always() && steps.json_serializable_pub_upgrade.conclusion == 'success'"
213
230
working-directory : json_serializable
214
- job_004 :
231
+ job_005 :
215
232
name : " unit_test; Dart 2.19.0; PKGS: _test_yaml, checked_yaml, example, json_serializable; `dart test`"
216
233
runs-on : ubuntu-latest
217
234
steps :
@@ -272,7 +289,8 @@ jobs:
272
289
- job_001
273
290
- job_002
274
291
- job_003
275
- job_005 :
292
+ - job_004
293
+ job_006 :
276
294
name : " unit_test; Dart 2.19.0; PKG: json_serializable; `dart test --run-skipped -t presubmit-only test/annotation_version_test.dart`"
277
295
runs-on : ubuntu-latest
278
296
steps :
@@ -306,7 +324,8 @@ jobs:
306
324
- job_001
307
325
- job_002
308
326
- job_003
309
- job_006 :
327
+ - job_004
328
+ job_007 :
310
329
name : " unit_test; Dart 2.19.0; PKG: json_serializable; `dart test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
311
330
runs-on : ubuntu-latest
312
331
steps :
@@ -340,7 +359,8 @@ jobs:
340
359
- job_001
341
360
- job_002
342
361
- job_003
343
- job_007 :
362
+ - job_004
363
+ job_008 :
344
364
name : " unit_test; Dart 2.19.0; PKG: json_serializable; `dart test -p chrome`"
345
365
runs-on : ubuntu-latest
346
366
steps :
@@ -374,7 +394,8 @@ jobs:
374
394
- job_001
375
395
- job_002
376
396
- job_003
377
- job_008 :
397
+ - job_004
398
+ job_009 :
378
399
name : " unit_test; Dart dev; PKGS: _test_yaml, checked_yaml, example, json_serializable; `dart test`"
379
400
runs-on : ubuntu-latest
380
401
steps :
@@ -435,7 +456,8 @@ jobs:
435
456
- job_001
436
457
- job_002
437
458
- job_003
438
- job_009 :
459
+ - job_004
460
+ job_010 :
439
461
name : " unit_test; Dart dev; PKG: json_serializable; `dart test --run-skipped -t presubmit-only test/annotation_version_test.dart`"
440
462
runs-on : ubuntu-latest
441
463
steps :
@@ -469,7 +491,8 @@ jobs:
469
491
- job_001
470
492
- job_002
471
493
- job_003
472
- job_010 :
494
+ - job_004
495
+ job_011 :
473
496
name : " unit_test; Dart dev; PKG: json_serializable; `dart test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
474
497
runs-on : ubuntu-latest
475
498
steps :
@@ -503,7 +526,8 @@ jobs:
503
526
- job_001
504
527
- job_002
505
528
- job_003
506
- job_011 :
529
+ - job_004
530
+ job_012 :
507
531
name : " unit_test; Dart dev; PKG: json_serializable; `dart test -p chrome`"
508
532
runs-on : ubuntu-latest
509
533
steps :
@@ -537,7 +561,8 @@ jobs:
537
561
- job_001
538
562
- job_002
539
563
- job_003
540
- job_012 :
564
+ - job_004
565
+ job_013 :
541
566
name : " ensure_build; Dart 2.19.0; PKGS: _test_yaml, checked_yaml, example; `dart test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
542
567
runs-on : ubuntu-latest
543
568
steps :
@@ -597,7 +622,8 @@ jobs:
597
622
- job_009
598
623
- job_010
599
624
- job_011
600
- job_013 :
625
+ - job_012
626
+ job_014 :
601
627
name : " ensure_build; Dart dev; PKGS: _test_yaml, checked_yaml, example; `dart test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
602
628
runs-on : ubuntu-latest
603
629
steps :
@@ -657,3 +683,4 @@ jobs:
657
683
- job_009
658
684
- job_010
659
685
- job_011
686
+ - job_012
0 commit comments