@@ -36,16 +36,16 @@ jobs:
36
36
- run : pub global activate mono_repo 3.3.0
37
37
- run : pub global run mono_repo generate --validate
38
38
job_002 :
39
- name : " OS: linux; SDK: dev; PKGS: _test_yaml, checked_yaml, json_annotation, json_serializable; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-warnings --fatal-infos .`]"
39
+ name : " OS: linux; SDK: dev; PKGS: _test_yaml, checked_yaml, example, json_annotation, json_serializable; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-infos .`]"
40
40
runs-on : ubuntu-latest
41
41
steps :
42
42
- name : Cache Pub hosted dependencies
43
43
uses : actions/cache@v2
44
44
with :
45
45
path : " ~/.pub-cache/hosted"
46
- key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-json_annotation-json_serializable;commands:dartfmt-dartanalyzer_0 "
46
+ key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-example- json_annotation-json_serializable;commands:dartfmt-dartanalyzer "
47
47
restore-keys : |
48
- os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-json_annotation-json_serializable
48
+ os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-example- json_annotation-json_serializable
49
49
os:ubuntu-latest;pub-cache-hosted;dart:dev
50
50
os:ubuntu-latest;pub-cache-hosted
51
51
os:ubuntu-latest
55
55
- run : dart --version
56
56
- uses : actions/checkout@v2
57
57
- env :
58
- PKGS : _test_yaml checked_yaml json_annotation json_serializable
58
+ PKGS : _test_yaml checked_yaml example json_annotation json_serializable
59
59
TRAVIS_OS_NAME : linux
60
- run : tool/ci.sh dartfmt dartanalyzer_0
61
- job_005 :
62
- name : " OS: linux; SDK: 2.7.0; PKG: checked_yaml; TASKS: `dartanalyzer --fatal-warnings .`"
63
- runs-on : ubuntu-latest
64
- steps :
65
- - name : Cache Pub hosted dependencies
66
- uses : actions/cache@v2
67
- with :
68
- path : " ~/.pub-cache/hosted"
69
- key : " os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:checked_yaml;commands:dartanalyzer_1"
70
- restore-keys : |
71
- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:checked_yaml
72
- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0
73
- os:ubuntu-latest;pub-cache-hosted
74
- os:ubuntu-latest
75
- - uses : cedx/setup-dart@v2
76
- with :
77
- release-channel : stable
78
- version : " 2.7.0"
79
- - run : dart --version
80
- - uses : actions/checkout@v2
81
- - env :
82
- PKGS : checked_yaml
83
- TRAVIS_OS_NAME : linux
84
- run : tool/ci.sh dartanalyzer_1
85
- job_008 :
86
- name : " OS: linux; SDK: dev; PKG: example; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-warnings .`]"
87
- runs-on : ubuntu-latest
88
- steps :
89
- - name : Cache Pub hosted dependencies
90
- uses : actions/cache@v2
91
- with :
92
- path : " ~/.pub-cache/hosted"
93
- key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:example;commands:dartfmt-dartanalyzer_1"
94
- restore-keys : |
95
- os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:example
96
- os:ubuntu-latest;pub-cache-hosted;dart:dev
97
- os:ubuntu-latest;pub-cache-hosted
98
- os:ubuntu-latest
99
- - uses : cedx/setup-dart@v2
100
- with :
101
- release-channel : dev
102
- - run : dart --version
103
- - uses : actions/checkout@v2
104
- - env :
105
- PKGS : example
106
- TRAVIS_OS_NAME : linux
107
- run : tool/ci.sh dartfmt dartanalyzer_1
60
+ run : tool/ci.sh dartfmt dartanalyzer
108
61
job_003 :
109
62
name : " OS: linux; SDK: dev; PKGS: _test_yaml, checked_yaml, example, json_serializable; TASKS: `pub run test`"
110
63
runs-on : ubuntu-latest
@@ -131,38 +84,7 @@ jobs:
131
84
needs :
132
85
- job_001
133
86
- job_002
134
- - job_005
135
- - job_008
136
- job_006 :
137
- name : " OS: linux; SDK: 2.7.0; PKG: checked_yaml; TASKS: `pub run test`"
138
- runs-on : ubuntu-latest
139
- steps :
140
- - name : Cache Pub hosted dependencies
141
- uses : actions/cache@v2
142
- with :
143
- path : " ~/.pub-cache/hosted"
144
- key : " os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:checked_yaml;commands:test_0"
145
- restore-keys : |
146
- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:checked_yaml
147
- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0
148
- os:ubuntu-latest;pub-cache-hosted
149
- os:ubuntu-latest
150
- - uses : cedx/setup-dart@v2
151
- with :
152
- release-channel : stable
153
- version : " 2.7.0"
154
- - run : dart --version
155
- - uses : actions/checkout@v2
156
- - env :
157
- PKGS : checked_yaml
158
- TRAVIS_OS_NAME : linux
159
- run : tool/ci.sh test_0
160
- needs :
161
- - job_001
162
- - job_002
163
- - job_005
164
- - job_008
165
- job_009 :
87
+ job_005 :
166
88
name : " OS: linux; SDK: dev; PKG: json_serializable; TASKS: `pub run test -p chrome`"
167
89
runs-on : ubuntu-latest
168
90
steps :
@@ -188,8 +110,6 @@ jobs:
188
110
needs :
189
111
- job_001
190
112
- job_002
191
- - job_005
192
- - job_008
193
113
job_004 :
194
114
name : " OS: linux; SDK: dev; PKGS: _test_yaml, checked_yaml, example, json_serializable; TASKS: `pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
195
115
runs-on : ubuntu-latest
@@ -215,33 +135,4 @@ jobs:
215
135
run : tool/ci.sh test_1
216
136
needs :
217
137
- job_003
218
- - job_006
219
- - job_009
220
- job_007 :
221
- name : " OS: linux; SDK: 2.7.0; PKG: checked_yaml; TASKS: `pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
222
- runs-on : ubuntu-latest
223
- steps :
224
- - name : Cache Pub hosted dependencies
225
- uses : actions/cache@v2
226
- with :
227
- path : " ~/.pub-cache/hosted"
228
- key : " os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:checked_yaml;commands:test_1"
229
- restore-keys : |
230
- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:checked_yaml
231
- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0
232
- os:ubuntu-latest;pub-cache-hosted
233
- os:ubuntu-latest
234
- - uses : cedx/setup-dart@v2
235
- with :
236
- release-channel : stable
237
- version : " 2.7.0"
238
- - run : dart --version
239
- - uses : actions/checkout@v2
240
- - env :
241
- PKGS : checked_yaml
242
- TRAVIS_OS_NAME : linux
243
- run : tool/ci.sh test_1
244
- needs :
245
- - job_003
246
- - job_006
247
- - job_009
138
+ - job_005
0 commit comments