1- # Created with package:mono_repo v6.2.2
1+ # Created with package:mono_repo v6.3.0
22name : Dart CI
33on :
44 push :
@@ -13,35 +13,36 @@ defaults:
1313 shell : bash
1414env :
1515 PUB_ENVIRONMENT : bot.github
16+ permissions : read-all
1617
1718jobs :
1819 job_001 :
1920 name : mono_repo self validate
2021 runs-on : ubuntu-latest
2122 steps :
2223 - name : Cache Pub hosted dependencies
23- uses : actions/cache@v3
24+ uses : actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
2425 with :
2526 path : " ~/.pub-cache/hosted"
2627 key : " os:ubuntu-latest;pub-cache-hosted;sdk:stable"
2728 restore-keys : |
2829 os:ubuntu-latest;pub-cache-hosted
2930 os:ubuntu-latest
30- - uses : dart-lang/setup-dart@v1.3
31+ - uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
3132 with :
3233 sdk : stable
3334 - id : checkout
34- uses : actions/checkout@v3
35+ uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
3536 - name : mono_repo self validate
36- run : dart pub global activate mono_repo 6.2.2
37+ run : dart pub global activate mono_repo 6.3.0
3738 - name : mono_repo self validate
3839 run : dart pub global run mono_repo generate --validate
3940 job_002 :
4041 name : " analyzer_and_format; Dart 2.14.0; PKGS: _test_yaml, checked_yaml, example, json_annotation, json_serializable; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`"
4142 runs-on : ubuntu-latest
4243 steps :
4344 - name : Cache Pub hosted dependencies
44- uses : actions/cache@v3
45+ uses : actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
4546 with :
4647 path : " ~/.pub-cache/hosted"
4748 key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.14.0;packages:_test_yaml-checked_yaml-example-json_annotation-json_serializable;commands:format-analyze"
@@ -50,11 +51,11 @@ jobs:
5051 os:ubuntu-latest;pub-cache-hosted;sdk:2.14.0
5152 os:ubuntu-latest;pub-cache-hosted
5253 os:ubuntu-latest
53- - uses : dart-lang/setup-dart@v1.3
54+ - uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
5455 with :
5556 sdk : " 2.14.0"
5657 - id : checkout
57- uses : actions/checkout@v3
58+ uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
5859 - id : _test_yaml_pub_upgrade
5960 name : _test_yaml; dart pub upgrade
6061 if : " always() && steps.checkout.conclusion == 'success'"
@@ -125,7 +126,7 @@ jobs:
125126 runs-on : ubuntu-latest
126127 steps :
127128 - name : Cache Pub hosted dependencies
128- uses : actions/cache@v3
129+ uses : actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
129130 with :
130131 path : " ~/.pub-cache/hosted"
131132 key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test_yaml-checked_yaml-example-json_annotation-json_serializable;commands:format-analyze"
@@ -134,11 +135,11 @@ jobs:
134135 os:ubuntu-latest;pub-cache-hosted;sdk:dev
135136 os:ubuntu-latest;pub-cache-hosted
136137 os:ubuntu-latest
137- - uses : dart-lang/setup-dart@v1.3
138+ - uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
138139 with :
139140 sdk : dev
140141 - id : checkout
141- uses : actions/checkout@v3
142+ uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
142143 - id : _test_yaml_pub_upgrade
143144 name : _test_yaml; dart pub upgrade
144145 if : " always() && steps.checkout.conclusion == 'success'"
@@ -209,7 +210,7 @@ jobs:
209210 runs-on : ubuntu-latest
210211 steps :
211212 - name : Cache Pub hosted dependencies
212- uses : actions/cache@v3
213+ uses : actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
213214 with :
214215 path : " ~/.pub-cache/hosted"
215216 key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.14.0;packages:_test_yaml-checked_yaml-example-json_serializable;commands:test_0"
@@ -218,11 +219,11 @@ jobs:
218219 os:ubuntu-latest;pub-cache-hosted;sdk:2.14.0
219220 os:ubuntu-latest;pub-cache-hosted
220221 os:ubuntu-latest
221- - uses : dart-lang/setup-dart@v1.3
222+ - uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
222223 with :
223224 sdk : " 2.14.0"
224225 - id : checkout
225- uses : actions/checkout@v3
226+ uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
226227 - id : _test_yaml_pub_upgrade
227228 name : _test_yaml; dart pub upgrade
228229 if : " always() && steps.checkout.conclusion == 'success'"
@@ -268,7 +269,7 @@ jobs:
268269 runs-on : ubuntu-latest
269270 steps :
270271 - name : Cache Pub hosted dependencies
271- uses : actions/cache@v3
272+ uses : actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
272273 with :
273274 path : " ~/.pub-cache/hosted"
274275 key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.14.0;packages:json_serializable;commands:test_3"
@@ -277,11 +278,11 @@ jobs:
277278 os:ubuntu-latest;pub-cache-hosted;sdk:2.14.0
278279 os:ubuntu-latest;pub-cache-hosted
279280 os:ubuntu-latest
280- - uses : dart-lang/setup-dart@v1.3
281+ - uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
281282 with :
282283 sdk : " 2.14.0"
283284 - id : checkout
284- uses : actions/checkout@v3
285+ uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
285286 - id : json_serializable_pub_upgrade
286287 name : json_serializable; dart pub upgrade
287288 if : " always() && steps.checkout.conclusion == 'success'"
@@ -300,7 +301,7 @@ jobs:
300301 runs-on : ubuntu-latest
301302 steps :
302303 - name : Cache Pub hosted dependencies
303- uses : actions/cache@v3
304+ uses : actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
304305 with :
305306 path : " ~/.pub-cache/hosted"
306307 key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.14.0;packages:json_serializable;commands:test_1"
@@ -309,11 +310,11 @@ jobs:
309310 os:ubuntu-latest;pub-cache-hosted;sdk:2.14.0
310311 os:ubuntu-latest;pub-cache-hosted
311312 os:ubuntu-latest
312- - uses : dart-lang/setup-dart@v1.3
313+ - uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
313314 with :
314315 sdk : " 2.14.0"
315316 - id : checkout
316- uses : actions/checkout@v3
317+ uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
317318 - id : json_serializable_pub_upgrade
318319 name : json_serializable; dart pub upgrade
319320 if : " always() && steps.checkout.conclusion == 'success'"
@@ -332,7 +333,7 @@ jobs:
332333 runs-on : ubuntu-latest
333334 steps :
334335 - name : Cache Pub hosted dependencies
335- uses : actions/cache@v3
336+ uses : actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
336337 with :
337338 path : " ~/.pub-cache/hosted"
338339 key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.14.0;packages:json_serializable;commands:test_2"
@@ -341,11 +342,11 @@ jobs:
341342 os:ubuntu-latest;pub-cache-hosted;sdk:2.14.0
342343 os:ubuntu-latest;pub-cache-hosted
343344 os:ubuntu-latest
344- - uses : dart-lang/setup-dart@v1.3
345+ - uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
345346 with :
346347 sdk : " 2.14.0"
347348 - id : checkout
348- uses : actions/checkout@v3
349+ uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
349350 - id : json_serializable_pub_upgrade
350351 name : json_serializable; dart pub upgrade
351352 if : " always() && steps.checkout.conclusion == 'success'"
@@ -364,7 +365,7 @@ jobs:
364365 runs-on : ubuntu-latest
365366 steps :
366367 - name : Cache Pub hosted dependencies
367- uses : actions/cache@v3
368+ uses : actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
368369 with :
369370 path : " ~/.pub-cache/hosted"
370371 key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test_yaml-checked_yaml-example-json_serializable;commands:test_0"
@@ -373,11 +374,11 @@ jobs:
373374 os:ubuntu-latest;pub-cache-hosted;sdk:dev
374375 os:ubuntu-latest;pub-cache-hosted
375376 os:ubuntu-latest
376- - uses : dart-lang/setup-dart@v1.3
377+ - uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
377378 with :
378379 sdk : dev
379380 - id : checkout
380- uses : actions/checkout@v3
381+ uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
381382 - id : _test_yaml_pub_upgrade
382383 name : _test_yaml; dart pub upgrade
383384 if : " always() && steps.checkout.conclusion == 'success'"
@@ -423,7 +424,7 @@ jobs:
423424 runs-on : ubuntu-latest
424425 steps :
425426 - name : Cache Pub hosted dependencies
426- uses : actions/cache@v3
427+ uses : actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
427428 with :
428429 path : " ~/.pub-cache/hosted"
429430 key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:json_serializable;commands:test_3"
@@ -432,11 +433,11 @@ jobs:
432433 os:ubuntu-latest;pub-cache-hosted;sdk:dev
433434 os:ubuntu-latest;pub-cache-hosted
434435 os:ubuntu-latest
435- - uses : dart-lang/setup-dart@v1.3
436+ - uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
436437 with :
437438 sdk : dev
438439 - id : checkout
439- uses : actions/checkout@v3
440+ uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
440441 - id : json_serializable_pub_upgrade
441442 name : json_serializable; dart pub upgrade
442443 if : " always() && steps.checkout.conclusion == 'success'"
@@ -455,7 +456,7 @@ jobs:
455456 runs-on : ubuntu-latest
456457 steps :
457458 - name : Cache Pub hosted dependencies
458- uses : actions/cache@v3
459+ uses : actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
459460 with :
460461 path : " ~/.pub-cache/hosted"
461462 key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:json_serializable;commands:test_1"
@@ -464,11 +465,11 @@ jobs:
464465 os:ubuntu-latest;pub-cache-hosted;sdk:dev
465466 os:ubuntu-latest;pub-cache-hosted
466467 os:ubuntu-latest
467- - uses : dart-lang/setup-dart@v1.3
468+ - uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
468469 with :
469470 sdk : dev
470471 - id : checkout
471- uses : actions/checkout@v3
472+ uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
472473 - id : json_serializable_pub_upgrade
473474 name : json_serializable; dart pub upgrade
474475 if : " always() && steps.checkout.conclusion == 'success'"
@@ -487,7 +488,7 @@ jobs:
487488 runs-on : ubuntu-latest
488489 steps :
489490 - name : Cache Pub hosted dependencies
490- uses : actions/cache@v3
491+ uses : actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
491492 with :
492493 path : " ~/.pub-cache/hosted"
493494 key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:json_serializable;commands:test_2"
@@ -496,11 +497,11 @@ jobs:
496497 os:ubuntu-latest;pub-cache-hosted;sdk:dev
497498 os:ubuntu-latest;pub-cache-hosted
498499 os:ubuntu-latest
499- - uses : dart-lang/setup-dart@v1.3
500+ - uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
500501 with :
501502 sdk : dev
502503 - id : checkout
503- uses : actions/checkout@v3
504+ uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
504505 - id : json_serializable_pub_upgrade
505506 name : json_serializable; dart pub upgrade
506507 if : " always() && steps.checkout.conclusion == 'success'"
@@ -519,7 +520,7 @@ jobs:
519520 runs-on : ubuntu-latest
520521 steps :
521522 - name : Cache Pub hosted dependencies
522- uses : actions/cache@v3
523+ uses : actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
523524 with :
524525 path : " ~/.pub-cache/hosted"
525526 key : " os:ubuntu-latest;pub-cache-hosted;sdk:2.14.0;packages:_test_yaml-checked_yaml-example;commands:test_1"
@@ -528,11 +529,11 @@ jobs:
528529 os:ubuntu-latest;pub-cache-hosted;sdk:2.14.0
529530 os:ubuntu-latest;pub-cache-hosted
530531 os:ubuntu-latest
531- - uses : dart-lang/setup-dart@v1.3
532+ - uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
532533 with :
533534 sdk : " 2.14.0"
534535 - id : checkout
535- uses : actions/checkout@v3
536+ uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
536537 - id : _test_yaml_pub_upgrade
537538 name : _test_yaml; dart pub upgrade
538539 if : " always() && steps.checkout.conclusion == 'success'"
@@ -577,7 +578,7 @@ jobs:
577578 runs-on : ubuntu-latest
578579 steps :
579580 - name : Cache Pub hosted dependencies
580- uses : actions/cache@v3
581+ uses : actions/cache@4504faf7e9bcf8f3ed0bc863c4e1d21499ab8ef8
581582 with :
582583 path : " ~/.pub-cache/hosted"
583584 key : " os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test_yaml-checked_yaml-example;commands:test_1"
@@ -586,11 +587,11 @@ jobs:
586587 os:ubuntu-latest;pub-cache-hosted;sdk:dev
587588 os:ubuntu-latest;pub-cache-hosted
588589 os:ubuntu-latest
589- - uses : dart-lang/setup-dart@v1.3
590+ - uses : dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
590591 with :
591592 sdk : dev
592593 - id : checkout
593- uses : actions/checkout@v3
594+ uses : actions/checkout@d0651293c4a5a52e711f25b41b05b2212f385d28
594595 - id : _test_yaml_pub_upgrade
595596 name : _test_yaml; dart pub upgrade
596597 if : " always() && steps.checkout.conclusion == 'success'"
0 commit comments