@@ -191,14 +191,14 @@ jobs:
191
191
if : " always() && steps.protobuf_pub_upgrade.conclusion == 'success'"
192
192
working-directory : protobuf
193
193
job_006 :
194
- name : " format_analyze; linux; Dart dev; PKG: protoc_plugin; `dart format --output=none --set-exit-if-changed .`, `./../tool/setup.sh`, `make protos`, `dart analyze --fatal-infos`"
194
+ name : " format_analyze; linux; Dart dev; PKG: protoc_plugin; `dart format --output=none --set-exit-if-changed .`, `./../tool/setup.sh`, `make protos`, `dart analyze --fatal-infos bin lib test `"
195
195
runs-on : ubuntu-latest
196
196
steps :
197
197
- name : Cache Pub hosted dependencies
198
198
uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
199
199
with :
200
200
path : " ~/.pub-cache/hosted"
201
- key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protoc_plugin;commands:format-command_0-command_3-analyze_0 "
201
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protoc_plugin;commands:format-command_0-command_3-analyze_3 "
202
202
restore-keys : |
203
203
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protoc_plugin
204
204
os:ubuntu-latest;pub-cache-hosted;sdk:dev
@@ -228,8 +228,8 @@ jobs:
228
228
run : make protos
229
229
if : " always() && steps.protoc_plugin_pub_upgrade.conclusion == 'success'"
230
230
working-directory : protoc_plugin
231
- - name : " protoc_plugin; dart analyze --fatal-infos"
232
- run : dart analyze --fatal-infos
231
+ - name : " protoc_plugin; dart analyze --fatal-infos bin lib test "
232
+ run : dart analyze --fatal-infos bin lib test
233
233
if : " always() && steps.protoc_plugin_pub_upgrade.conclusion == 'success'"
234
234
working-directory : protoc_plugin
235
235
job_007 :
@@ -240,7 +240,7 @@ jobs:
240
240
uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
241
241
with :
242
242
path : " ~/.pub-cache/hosted"
243
- key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:protobuf;commands:test "
243
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:protobuf;commands:test_0 "
244
244
restore-keys : |
245
245
os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:protobuf
246
246
os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0
@@ -277,7 +277,7 @@ jobs:
277
277
uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
278
278
with :
279
279
path : " ~/.pub-cache/hosted"
280
- key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:protoc_plugin;commands:command_0-command_3-test "
280
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:protoc_plugin;commands:command_0-command_3-test_0 "
281
281
restore-keys : |
282
282
os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:protoc_plugin
283
283
os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0
@@ -322,7 +322,7 @@ jobs:
322
322
uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
323
323
with :
324
324
path : " ~/.pub-cache/hosted"
325
- key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protobuf;commands:test "
325
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protobuf;commands:test_0 "
326
326
restore-keys : |
327
327
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protobuf
328
328
os:ubuntu-latest;pub-cache-hosted;sdk:dev
@@ -359,7 +359,7 @@ jobs:
359
359
uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
360
360
with :
361
361
path : " ~/.pub-cache/hosted"
362
- key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protoc_plugin;commands:command_0-command_3-test "
362
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protoc_plugin;commands:command_0-command_3-test_0 "
363
363
restore-keys : |
364
364
os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protoc_plugin
365
365
os:ubuntu-latest;pub-cache-hosted;sdk:dev
@@ -404,7 +404,7 @@ jobs:
404
404
uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
405
405
with :
406
406
path : " ~/.pub-cache/hosted"
407
- key : " os:macos-latest;pub-cache-hosted;sdk:2.12.0;packages:protobuf;commands:test "
407
+ key : " os:macos-latest;pub-cache-hosted;sdk:2.12.0;packages:protobuf;commands:test_0 "
408
408
restore-keys : |
409
409
os:macos-latest;pub-cache-hosted;sdk:2.12.0;packages:protobuf
410
410
os:macos-latest;pub-cache-hosted;sdk:2.12.0
@@ -441,7 +441,7 @@ jobs:
441
441
uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
442
442
with :
443
443
path : " ~/.pub-cache/hosted"
444
- key : " os:macos-latest;pub-cache-hosted;sdk:dev;packages:protobuf;commands:test "
444
+ key : " os:macos-latest;pub-cache-hosted;sdk:dev;packages:protobuf;commands:test_0 "
445
445
restore-keys : |
446
446
os:macos-latest;pub-cache-hosted;sdk:dev;packages:protobuf
447
447
os:macos-latest;pub-cache-hosted;sdk:dev
@@ -524,3 +524,56 @@ jobs:
524
524
- job_004
525
525
- job_005
526
526
- job_006
527
+ job_015 :
528
+ name : " run_legacy_tests; linux; Dart 2.12.0; PKG: protoc_plugin; `./../tool/setup.sh`, `make protos`, `dart test legacy_tests/generated_message_test.dart`"
529
+ runs-on : ubuntu-latest
530
+ steps :
531
+ - name : Cache Pub hosted dependencies
532
+ uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
533
+ with :
534
+ path : " ~/.pub-cache/hosted"
535
+ key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:protoc_plugin;commands:command_0-command_3-test_1"
536
+ restore-keys : |
537
+ os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:protoc_plugin
538
+ os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0
539
+ os:ubuntu-latest;pub-cache-hosted
540
+ os:ubuntu-latest
541
+ - name : Setup Dart SDK
542
+ uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
543
+ with :
544
+ sdk : " 2.12.0"
545
+ - id : checkout
546
+ name : Checkout repository
547
+ uses : actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
548
+ - id : protoc_plugin_pub_upgrade
549
+ name : protoc_plugin; dart pub upgrade
550
+ run : dart pub upgrade
551
+ if : " always() && steps.checkout.conclusion == 'success'"
552
+ working-directory : protoc_plugin
553
+ - name : protoc_plugin; ./../tool/setup.sh
554
+ run : ./../tool/setup.sh
555
+ if : " always() && steps.protoc_plugin_pub_upgrade.conclusion == 'success'"
556
+ working-directory : protoc_plugin
557
+ - name : protoc_plugin; make protos
558
+ run : make protos
559
+ if : " always() && steps.protoc_plugin_pub_upgrade.conclusion == 'success'"
560
+ working-directory : protoc_plugin
561
+ - name : protoc_plugin; dart test legacy_tests/generated_message_test.dart
562
+ run : dart test legacy_tests/generated_message_test.dart
563
+ if : " always() && steps.protoc_plugin_pub_upgrade.conclusion == 'success'"
564
+ working-directory : protoc_plugin
565
+ needs :
566
+ - job_001
567
+ - job_002
568
+ - job_003
569
+ - job_004
570
+ - job_005
571
+ - job_006
572
+ - job_007
573
+ - job_008
574
+ - job_009
575
+ - job_010
576
+ - job_011
577
+ - job_012
578
+ - job_013
579
+ - job_014
0 commit comments