1
- # Created with package:mono_repo v3.1 .0
1
+ # Created with package:mono_repo v3.3 .0
2
2
name : Dart CI
3
3
on :
4
4
push :
33
33
version : latest
34
34
- run : dart --version
35
35
- uses : actions/checkout@v2
36
- - run : pub global activate mono_repo 3.1 .0
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
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-warnings --fatal-infos .`]"
@@ -106,6 +106,10 @@ jobs:
106
106
PKGS : _test_yaml checked_yaml example json_serializable
107
107
TRAVIS_OS_NAME : linux
108
108
run : tool/ci.sh test_0
109
+ needs :
110
+ - job_001
111
+ - job_002
112
+ - job_003
109
113
job_005 :
110
114
name : " OS: linux; SDK: dev; PKGS: _test_yaml, checked_yaml, example, json_serializable; TASKS: `pub run test`"
111
115
runs-on : ubuntu-latest
@@ -129,17 +133,21 @@ jobs:
129
133
PKGS : _test_yaml checked_yaml example json_serializable
130
134
TRAVIS_OS_NAME : linux
131
135
run : tool/ci.sh test_0
132
- job_006 :
133
- name : " OS: linux; SDK: 2.7.0; PKGS: _test_yaml, checked_yaml, example, json_serializable; TASKS: `pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
136
+ needs :
137
+ - job_001
138
+ - job_002
139
+ - job_003
140
+ job_008 :
141
+ name : " OS: linux; SDK: 2.7.0; PKG: json_serializable; TASKS: `pub run test -p chrome`"
134
142
runs-on : ubuntu-latest
135
143
steps :
136
144
- name : Cache Pub hosted dependencies
137
145
uses : actions/cache@v2
138
146
with :
139
147
path : " ~/.pub-cache/hosted"
140
- key : " os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:_test_yaml-checked_yaml-example- json_serializable;commands:test_1 "
148
+ key : " os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:json_serializable;commands:test_2 "
141
149
restore-keys : |
142
- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:_test_yaml-checked_yaml-example- json_serializable
150
+ os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:json_serializable
143
151
os:ubuntu-latest;pub-cache-hosted;dart:2.7.0
144
152
os:ubuntu-latest;pub-cache-hosted
145
153
os:ubuntu-latest
@@ -150,20 +158,24 @@ jobs:
150
158
- run : dart --version
151
159
- uses : actions/checkout@v2
152
160
- env :
153
- PKGS : _test_yaml checked_yaml example json_serializable
161
+ PKGS : json_serializable
154
162
TRAVIS_OS_NAME : linux
155
- run : tool/ci.sh test_1
156
- job_007 :
157
- 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`"
163
+ run : tool/ci.sh test_2
164
+ needs :
165
+ - job_001
166
+ - job_002
167
+ - job_003
168
+ job_009 :
169
+ name : " OS: linux; SDK: dev; PKG: json_serializable; TASKS: `pub run test -p chrome`"
158
170
runs-on : ubuntu-latest
159
171
steps :
160
172
- name : Cache Pub hosted dependencies
161
173
uses : actions/cache@v2
162
174
with :
163
175
path : " ~/.pub-cache/hosted"
164
- key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-example- json_serializable;commands:test_1 "
176
+ key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:json_serializable;commands:test_2 "
165
177
restore-keys : |
166
- os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-example- json_serializable
178
+ os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:json_serializable
167
179
os:ubuntu-latest;pub-cache-hosted;dart:dev
168
180
os:ubuntu-latest;pub-cache-hosted
169
181
os:ubuntu-latest
@@ -173,20 +185,24 @@ jobs:
173
185
- run : dart --version
174
186
- uses : actions/checkout@v2
175
187
- env :
176
- PKGS : _test_yaml checked_yaml example json_serializable
188
+ PKGS : json_serializable
177
189
TRAVIS_OS_NAME : linux
178
- run : tool/ci.sh test_1
179
- job_008 :
180
- name : " OS: linux; SDK: 2.7.0; PKG: json_serializable; TASKS: `pub run test -p chrome`"
190
+ run : tool/ci.sh test_2
191
+ needs :
192
+ - job_001
193
+ - job_002
194
+ - job_003
195
+ job_006 :
196
+ name : " OS: linux; SDK: 2.7.0; PKGS: _test_yaml, checked_yaml, example, json_serializable; TASKS: `pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart`"
181
197
runs-on : ubuntu-latest
182
198
steps :
183
199
- name : Cache Pub hosted dependencies
184
200
uses : actions/cache@v2
185
201
with :
186
202
path : " ~/.pub-cache/hosted"
187
- key : " os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:json_serializable;commands:test_2 "
203
+ key : " os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:_test_yaml-checked_yaml-example- json_serializable;commands:test_1 "
188
204
restore-keys : |
189
- os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:json_serializable
205
+ os:ubuntu-latest;pub-cache-hosted;dart:2.7.0;packages:_test_yaml-checked_yaml-example- json_serializable
190
206
os:ubuntu-latest;pub-cache-hosted;dart:2.7.0
191
207
os:ubuntu-latest;pub-cache-hosted
192
208
os:ubuntu-latest
@@ -197,20 +213,25 @@ jobs:
197
213
- run : dart --version
198
214
- uses : actions/checkout@v2
199
215
- env :
200
- PKGS : json_serializable
216
+ PKGS : _test_yaml checked_yaml example json_serializable
201
217
TRAVIS_OS_NAME : linux
202
- run : tool/ci.sh test_2
203
- job_009 :
204
- name : " OS: linux; SDK: dev; PKG: json_serializable; TASKS: `pub run test -p chrome`"
218
+ run : tool/ci.sh test_1
219
+ needs :
220
+ - job_004
221
+ - job_005
222
+ - job_008
223
+ - job_009
224
+ job_007 :
225
+ 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`"
205
226
runs-on : ubuntu-latest
206
227
steps :
207
228
- name : Cache Pub hosted dependencies
208
229
uses : actions/cache@v2
209
230
with :
210
231
path : " ~/.pub-cache/hosted"
211
- key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:json_serializable;commands:test_2 "
232
+ key : " os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-example- json_serializable;commands:test_1 "
212
233
restore-keys : |
213
- os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:json_serializable
234
+ os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:_test_yaml-checked_yaml-example- json_serializable
214
235
os:ubuntu-latest;pub-cache-hosted;dart:dev
215
236
os:ubuntu-latest;pub-cache-hosted
216
237
os:ubuntu-latest
@@ -220,6 +241,11 @@ jobs:
220
241
- run : dart --version
221
242
- uses : actions/checkout@v2
222
243
- env :
223
- PKGS : json_serializable
244
+ PKGS : _test_yaml checked_yaml example json_serializable
224
245
TRAVIS_OS_NAME : linux
225
- run : tool/ci.sh test_2
246
+ run : tool/ci.sh test_1
247
+ needs :
248
+ - job_004
249
+ - job_005
250
+ - job_008
251
+ - job_009
0 commit comments