@@ -191,14 +191,14 @@ jobs:
191191 if : " always() && steps.protobuf_pub_upgrade.conclusion == 'success'"
192192 working-directory : protobuf
193193 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 `"
195195 runs-on : ubuntu-latest
196196 steps :
197197 - name : Cache Pub hosted dependencies
198198 uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
199199 with :
200200 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 "
202202 restore-keys : |
203203 os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protoc_plugin
204204 os:ubuntu-latest;pub-cache-hosted;sdk:dev
@@ -228,8 +228,8 @@ jobs:
228228 run : make protos
229229 if : " always() && steps.protoc_plugin_pub_upgrade.conclusion == 'success'"
230230 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
233233 if : " always() && steps.protoc_plugin_pub_upgrade.conclusion == 'success'"
234234 working-directory : protoc_plugin
235235 job_007 :
@@ -240,7 +240,7 @@ jobs:
240240 uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
241241 with :
242242 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 "
244244 restore-keys : |
245245 os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:protobuf
246246 os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0
@@ -277,7 +277,7 @@ jobs:
277277 uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
278278 with :
279279 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 "
281281 restore-keys : |
282282 os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:protoc_plugin
283283 os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0
@@ -322,7 +322,7 @@ jobs:
322322 uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
323323 with :
324324 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 "
326326 restore-keys : |
327327 os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protobuf
328328 os:ubuntu-latest;pub-cache-hosted;sdk:dev
@@ -359,7 +359,7 @@ jobs:
359359 uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
360360 with :
361361 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 "
363363 restore-keys : |
364364 os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protoc_plugin
365365 os:ubuntu-latest;pub-cache-hosted;sdk:dev
@@ -404,7 +404,7 @@ jobs:
404404 uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
405405 with :
406406 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 "
408408 restore-keys : |
409409 os:macos-latest;pub-cache-hosted;sdk:2.12.0;packages:protobuf
410410 os:macos-latest;pub-cache-hosted;sdk:2.12.0
@@ -441,7 +441,7 @@ jobs:
441441 uses : actions/cache@4723a57e26efda3a62cbde1812113b730952852d
442442 with :
443443 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 "
445445 restore-keys : |
446446 os:macos-latest;pub-cache-hosted;sdk:dev;packages:protobuf
447447 os:macos-latest;pub-cache-hosted;sdk:dev
@@ -524,3 +524,56 @@ jobs:
524524 - job_004
525525 - job_005
526526 - 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