1
- # Created with package:mono_repo v3.4.7
1
+ # Created with package:mono_repo v4.0.0
2
2
name : Dart CI
3
3
on :
4
4
push :
5
5
branches :
6
6
- master
7
- - " 3_x "
7
+ - " 4_x "
8
8
pull_request :
9
9
schedule :
10
10
- cron : " 0 0 * * 0"
20
20
runs-on : ubuntu-latest
21
21
steps :
22
22
- name : Cache Pub hosted dependencies
23
- uses : actions/cache@v2
23
+ uses : actions/cache@v2.1.5
24
24
with :
25
25
path : " ~/.pub-cache/hosted"
26
26
key : " os:ubuntu-latest;pub-cache-hosted;dart:stable"
@@ -31,17 +31,17 @@ jobs:
31
31
with :
32
32
sdk : stable
33
33
- id : checkout
34
- uses : actions/checkout@v2
34
+ uses : actions/checkout@v2.3.4
35
35
- name : mono_repo self validate
36
- run : pub global activate mono_repo 3.4.7
36
+ run : pub global activate mono_repo 4.0.0
37
37
- name : mono_repo self validate
38
38
run : pub global run mono_repo generate --validate
39
39
job_002 :
40
40
name : " analyzer_and_format; Dart 2.12.0; PKGS: _test_yaml, checked_yaml, example, json_annotation, json_serializable; `dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-infos .`"
41
41
runs-on : ubuntu-latest
42
42
steps :
43
43
- name : Cache Pub hosted dependencies
44
- uses : actions/cache@v2
44
+ uses : actions/cache@v2.1.5
45
45
with :
46
46
path : " ~/.pub-cache/hosted"
47
47
key : " os:ubuntu-latest;pub-cache-hosted;dart:2.12.0;packages:_test_yaml-checked_yaml-example-json_annotation-json_serializable;commands:dartfmt-dartanalyzer"
54
54
with :
55
55
sdk : " 2.12.0"
56
56
- id : checkout
57
- uses : actions/checkout@v2
57
+ uses : actions/checkout@v2.3.4
58
58
- id : _test_yaml_pub_upgrade
59
59
name : " _test_yaml; pub upgrade --no-precompile"
60
60
if : " always() && steps.checkout.conclusion == 'success'"
@@ -125,7 +125,7 @@ jobs:
125
125
runs-on : ubuntu-latest
126
126
steps :
127
127
- name : Cache Pub hosted dependencies
128
- uses : actions/cache@v2
128
+ uses : actions/cache@v2.1.5
129
129
with :
130
130
path : " ~/.pub-cache/hosted"
131
131
key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-example-json_annotation-json_serializable;commands:dartfmt-dartanalyzer"
@@ -138,7 +138,7 @@ jobs:
138
138
with :
139
139
sdk : dev
140
140
- id : checkout
141
- uses : actions/checkout@v2
141
+ uses : actions/checkout@v2.3.4
142
142
- id : _test_yaml_pub_upgrade
143
143
name : " _test_yaml; pub upgrade --no-precompile"
144
144
if : " always() && steps.checkout.conclusion == 'success'"
@@ -209,7 +209,7 @@ jobs:
209
209
runs-on : ubuntu-latest
210
210
steps :
211
211
- name : Cache Pub hosted dependencies
212
- uses : actions/cache@v2
212
+ uses : actions/cache@v2.1.5
213
213
with :
214
214
path : " ~/.pub-cache/hosted"
215
215
key : " os:ubuntu-latest;pub-cache-hosted;dart:2.12.0;packages:_test_yaml-checked_yaml-example-json_serializable;commands:test_0"
@@ -222,7 +222,7 @@ jobs:
222
222
with :
223
223
sdk : " 2.12.0"
224
224
- id : checkout
225
- uses : actions/checkout@v2
225
+ uses : actions/checkout@v2.3.4
226
226
- id : _test_yaml_pub_upgrade
227
227
name : " _test_yaml; pub upgrade --no-precompile"
228
228
if : " always() && steps.checkout.conclusion == 'success'"
@@ -268,7 +268,7 @@ jobs:
268
268
runs-on : ubuntu-latest
269
269
steps :
270
270
- name : Cache Pub hosted dependencies
271
- uses : actions/cache@v2
271
+ uses : actions/cache@v2.1.5
272
272
with :
273
273
path : " ~/.pub-cache/hosted"
274
274
key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-example-json_serializable;commands:test_0"
@@ -281,7 +281,7 @@ jobs:
281
281
with :
282
282
sdk : dev
283
283
- id : checkout
284
- uses : actions/checkout@v2
284
+ uses : actions/checkout@v2.3.4
285
285
- id : _test_yaml_pub_upgrade
286
286
name : " _test_yaml; pub upgrade --no-precompile"
287
287
if : " always() && steps.checkout.conclusion == 'success'"
@@ -327,7 +327,7 @@ jobs:
327
327
runs-on : ubuntu-latest
328
328
steps :
329
329
- name : Cache Pub hosted dependencies
330
- uses : actions/cache@v2
330
+ uses : actions/cache@v2.1.5
331
331
with :
332
332
path : " ~/.pub-cache/hosted"
333
333
key : " os:ubuntu-latest;pub-cache-hosted;dart:2.12.0;packages:json_serializable;commands:test_2"
@@ -340,7 +340,7 @@ jobs:
340
340
with :
341
341
sdk : " 2.12.0"
342
342
- id : checkout
343
- uses : actions/checkout@v2
343
+ uses : actions/checkout@v2.3.4
344
344
- id : json_serializable_pub_upgrade
345
345
name : " json_serializable; pub upgrade --no-precompile"
346
346
if : " always() && steps.checkout.conclusion == 'success'"
@@ -359,7 +359,7 @@ jobs:
359
359
runs-on : ubuntu-latest
360
360
steps :
361
361
- name : Cache Pub hosted dependencies
362
- uses : actions/cache@v2
362
+ uses : actions/cache@v2.1.5
363
363
with :
364
364
path : " ~/.pub-cache/hosted"
365
365
key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:json_serializable;commands:test_2"
@@ -372,7 +372,7 @@ jobs:
372
372
with :
373
373
sdk : dev
374
374
- id : checkout
375
- uses : actions/checkout@v2
375
+ uses : actions/checkout@v2.3.4
376
376
- id : json_serializable_pub_upgrade
377
377
name : " json_serializable; pub upgrade --no-precompile"
378
378
if : " always() && steps.checkout.conclusion == 'success'"
@@ -391,7 +391,7 @@ jobs:
391
391
runs-on : ubuntu-latest
392
392
steps :
393
393
- name : Cache Pub hosted dependencies
394
- uses : actions/cache@v2
394
+ uses : actions/cache@v2.1.5
395
395
with :
396
396
path : " ~/.pub-cache/hosted"
397
397
key : " os:ubuntu-latest;pub-cache-hosted;dart:2.12.0;packages:_test_yaml-checked_yaml-example-json_serializable;commands:test_1"
@@ -404,7 +404,7 @@ jobs:
404
404
with :
405
405
sdk : " 2.12.0"
406
406
- id : checkout
407
- uses : actions/checkout@v2
407
+ uses : actions/checkout@v2.3.4
408
408
- id : _test_yaml_pub_upgrade
409
409
name : " _test_yaml; pub upgrade --no-precompile"
410
410
if : " always() && steps.checkout.conclusion == 'success'"
@@ -454,7 +454,7 @@ jobs:
454
454
runs-on : ubuntu-latest
455
455
steps :
456
456
- name : Cache Pub hosted dependencies
457
- uses : actions/cache@v2
457
+ uses : actions/cache@v2.1.5
458
458
with :
459
459
path : " ~/.pub-cache/hosted"
460
460
key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-example-json_serializable;commands:test_1"
@@ -467,7 +467,7 @@ jobs:
467
467
with :
468
468
sdk : dev
469
469
- id : checkout
470
- uses : actions/checkout@v2
470
+ uses : actions/checkout@v2.3.4
471
471
- id : _test_yaml_pub_upgrade
472
472
name : " _test_yaml; pub upgrade --no-precompile"
473
473
if : " always() && steps.checkout.conclusion == 'success'"
0 commit comments