|
1 |
| -# Created with package:mono_repo v6.5.5 |
| 1 | +# Created with package:mono_repo v6.6.1 |
2 | 2 | name: Dart CI
|
3 | 3 | on:
|
4 | 4 | push:
|
@@ -36,20 +36,20 @@ jobs:
|
36 | 36 | name: Checkout repository
|
37 | 37 | uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
|
38 | 38 | - name: mono_repo self validate
|
39 |
| - run: dart pub global activate mono_repo 6.5.5 |
| 39 | + run: dart pub global activate mono_repo 6.6.1 |
40 | 40 | - name: mono_repo self validate
|
41 | 41 | run: dart pub global run mono_repo generate --validate
|
42 | 42 | job_002:
|
43 |
| - name: "analyze; PKGS: acyclic_steps, canonical_json, chunked_stream, http_methods, neat_cache, neat_periodic_task, pem, retry, safe_url_check, sanitize_html, slugid, vendor; `dart analyze`" |
| 43 | + name: "analyze; PKGS: acyclic_steps, canonical_json, chunked_stream, dartdoc_test, http_methods, neat_cache, neat_periodic_task, pem, retry, safe_url_check, sanitize_html, slugid, vendor; `dart analyze`" |
44 | 44 | runs-on: ubuntu-latest
|
45 | 45 | steps:
|
46 | 46 | - name: Cache Pub hosted dependencies
|
47 | 47 | uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
|
48 | 48 | with:
|
49 | 49 | path: "~/.pub-cache/hosted"
|
50 |
| - key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-http_methods-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor;commands:analyze" |
| 50 | + key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-dartdoc_test-http_methods-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor;commands:analyze" |
51 | 51 | restore-keys: |
|
52 |
| - os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-http_methods-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor |
| 52 | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-dartdoc_test-http_methods-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor |
53 | 53 | os:ubuntu-latest;pub-cache-hosted;sdk:stable
|
54 | 54 | os:ubuntu-latest;pub-cache-hosted
|
55 | 55 | os:ubuntu-latest
|
|
87 | 87 | run: dart analyze
|
88 | 88 | if: "always() && steps.chunked_stream_pub_upgrade.conclusion == 'success'"
|
89 | 89 | working-directory: chunked_stream
|
| 90 | + - id: dartdoc_test_pub_upgrade |
| 91 | + name: dartdoc_test; dart pub upgrade |
| 92 | + run: dart pub upgrade |
| 93 | + if: "always() && steps.checkout.conclusion == 'success'" |
| 94 | + working-directory: dartdoc_test |
| 95 | + - name: dartdoc_test; dart analyze |
| 96 | + run: dart analyze |
| 97 | + if: "always() && steps.dartdoc_test_pub_upgrade.conclusion == 'success'" |
| 98 | + working-directory: dartdoc_test |
90 | 99 | - id: http_methods_pub_upgrade
|
91 | 100 | name: http_methods; dart pub upgrade
|
92 | 101 | run: dart pub upgrade
|
@@ -169,16 +178,16 @@ jobs:
|
169 | 178 | if: "always() && steps.vendor_pub_upgrade.conclusion == 'success'"
|
170 | 179 | working-directory: vendor
|
171 | 180 | job_003:
|
172 |
| - name: "analyze; PKGS: acyclic_steps, canonical_json, chunked_stream, http_methods, neat_cache, neat_periodic_task, pem, retry, safe_url_check, sanitize_html, slugid, vendor; `dart format --output=none --set-exit-if-changed .`" |
| 181 | + name: "analyze; PKGS: acyclic_steps, canonical_json, chunked_stream, dartdoc_test, http_methods, neat_cache, neat_periodic_task, pem, retry, safe_url_check, sanitize_html, slugid, vendor; `dart format --output=none --set-exit-if-changed .`" |
173 | 182 | runs-on: ubuntu-latest
|
174 | 183 | steps:
|
175 | 184 | - name: Cache Pub hosted dependencies
|
176 | 185 | uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
|
177 | 186 | with:
|
178 | 187 | path: "~/.pub-cache/hosted"
|
179 |
| - key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-http_methods-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor;commands:format" |
| 188 | + key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-dartdoc_test-http_methods-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor;commands:format" |
180 | 189 | restore-keys: |
|
181 |
| - os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-http_methods-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor |
| 190 | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-dartdoc_test-http_methods-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor |
182 | 191 | os:ubuntu-latest;pub-cache-hosted;sdk:stable
|
183 | 192 | os:ubuntu-latest;pub-cache-hosted
|
184 | 193 | os:ubuntu-latest
|
@@ -216,6 +225,15 @@ jobs:
|
216 | 225 | run: "dart format --output=none --set-exit-if-changed ."
|
217 | 226 | if: "always() && steps.chunked_stream_pub_upgrade.conclusion == 'success'"
|
218 | 227 | working-directory: chunked_stream
|
| 228 | + - id: dartdoc_test_pub_upgrade |
| 229 | + name: dartdoc_test; dart pub upgrade |
| 230 | + run: dart pub upgrade |
| 231 | + if: "always() && steps.checkout.conclusion == 'success'" |
| 232 | + working-directory: dartdoc_test |
| 233 | + - name: "dartdoc_test; dart format --output=none --set-exit-if-changed ." |
| 234 | + run: "dart format --output=none --set-exit-if-changed ." |
| 235 | + if: "always() && steps.dartdoc_test_pub_upgrade.conclusion == 'success'" |
| 236 | + working-directory: dartdoc_test |
219 | 237 | - id: http_methods_pub_upgrade
|
220 | 238 | name: http_methods; dart pub upgrade
|
221 | 239 | run: dart pub upgrade
|
@@ -400,6 +418,40 @@ jobs:
|
400 | 418 | - job_002
|
401 | 419 | - job_003
|
402 | 420 | job_007:
|
| 421 | + name: "tests; PKG: dartdoc_test; `dart test`" |
| 422 | + runs-on: ubuntu-latest |
| 423 | + steps: |
| 424 | + - name: Cache Pub hosted dependencies |
| 425 | + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 |
| 426 | + with: |
| 427 | + path: "~/.pub-cache/hosted" |
| 428 | + key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:dartdoc_test;commands:test_0" |
| 429 | + restore-keys: | |
| 430 | + os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:dartdoc_test |
| 431 | + os:ubuntu-latest;pub-cache-hosted;sdk:stable |
| 432 | + os:ubuntu-latest;pub-cache-hosted |
| 433 | + os:ubuntu-latest |
| 434 | + - name: Setup Dart SDK |
| 435 | + uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f |
| 436 | + with: |
| 437 | + sdk: stable |
| 438 | + - id: checkout |
| 439 | + name: Checkout repository |
| 440 | + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab |
| 441 | + - id: dartdoc_test_pub_upgrade |
| 442 | + name: dartdoc_test; dart pub upgrade |
| 443 | + run: dart pub upgrade |
| 444 | + if: "always() && steps.checkout.conclusion == 'success'" |
| 445 | + working-directory: dartdoc_test |
| 446 | + - name: dartdoc_test; dart test |
| 447 | + run: dart test |
| 448 | + if: "always() && steps.dartdoc_test_pub_upgrade.conclusion == 'success'" |
| 449 | + working-directory: dartdoc_test |
| 450 | + needs: |
| 451 | + - job_001 |
| 452 | + - job_002 |
| 453 | + - job_003 |
| 454 | + job_008: |
403 | 455 | name: "tests; PKG: http_methods; `dart test`"
|
404 | 456 | runs-on: ubuntu-latest
|
405 | 457 | steps:
|
@@ -433,7 +485,7 @@ jobs:
|
433 | 485 | - job_001
|
434 | 486 | - job_002
|
435 | 487 | - job_003
|
436 |
| - job_008: |
| 488 | + job_009: |
437 | 489 | name: "tests; PKG: neat_periodic_task; `dart test`"
|
438 | 490 | runs-on: ubuntu-latest
|
439 | 491 | steps:
|
@@ -467,7 +519,7 @@ jobs:
|
467 | 519 | - job_001
|
468 | 520 | - job_002
|
469 | 521 | - job_003
|
470 |
| - job_009: |
| 522 | + job_010: |
471 | 523 | name: "tests; PKG: pem; `dart test`"
|
472 | 524 | runs-on: ubuntu-latest
|
473 | 525 | steps:
|
@@ -501,7 +553,7 @@ jobs:
|
501 | 553 | - job_001
|
502 | 554 | - job_002
|
503 | 555 | - job_003
|
504 |
| - job_010: |
| 556 | + job_011: |
505 | 557 | name: "tests; PKG: retry; `dart test`"
|
506 | 558 | runs-on: ubuntu-latest
|
507 | 559 | steps:
|
@@ -535,7 +587,7 @@ jobs:
|
535 | 587 | - job_001
|
536 | 588 | - job_002
|
537 | 589 | - job_003
|
538 |
| - job_011: |
| 590 | + job_012: |
539 | 591 | name: "tests; PKG: safe_url_check; `dart test`"
|
540 | 592 | runs-on: ubuntu-latest
|
541 | 593 | steps:
|
@@ -569,7 +621,7 @@ jobs:
|
569 | 621 | - job_001
|
570 | 622 | - job_002
|
571 | 623 | - job_003
|
572 |
| - job_012: |
| 624 | + job_013: |
573 | 625 | name: "tests; PKG: sanitize_html; `dart test`"
|
574 | 626 | runs-on: ubuntu-latest
|
575 | 627 | steps:
|
@@ -603,7 +655,7 @@ jobs:
|
603 | 655 | - job_001
|
604 | 656 | - job_002
|
605 | 657 | - job_003
|
606 |
| - job_013: |
| 658 | + job_014: |
607 | 659 | name: "tests; PKG: slugid; `dart test`"
|
608 | 660 | runs-on: ubuntu-latest
|
609 | 661 | steps:
|
@@ -637,7 +689,7 @@ jobs:
|
637 | 689 | - job_001
|
638 | 690 | - job_002
|
639 | 691 | - job_003
|
640 |
| - job_014: |
| 692 | + job_015: |
641 | 693 | name: "tests; PKG: vendor; `dart test`"
|
642 | 694 | runs-on: ubuntu-latest
|
643 | 695 | steps:
|
@@ -671,7 +723,7 @@ jobs:
|
671 | 723 | - job_001
|
672 | 724 | - job_002
|
673 | 725 | - job_003
|
674 |
| - job_015: |
| 726 | + job_016: |
675 | 727 | name: "tests; PKG: neat_cache; `dart test -x redis`"
|
676 | 728 | runs-on: ubuntu-latest
|
677 | 729 | steps:
|
|
0 commit comments