1
- # Created with package:mono_repo v3.4.2
1
+ # Created with package:mono_repo v3.4.5
2
2
name : Dart CI
3
3
on :
4
4
push :
@@ -27,13 +27,13 @@ jobs:
27
27
restore-keys : |
28
28
os:ubuntu-latest;pub-cache-hosted
29
29
os:ubuntu-latest
30
- - uses : cedx /setup-dart@v2
30
+ - uses : dart-lang /setup-dart@v0.3
31
31
with :
32
- release-channel : stable
33
- - run : dart --version
34
- - uses : actions/checkout@v2
32
+ sdk : stable
33
+ - id : checkout
34
+ uses : actions/checkout@v2
35
35
- name : mono_repo self validate
36
- run : pub global activate mono_repo 3.4.2
36
+ run : pub global activate mono_repo 3.4.5
37
37
- name : mono_repo self validate
38
38
run : pub global run mono_repo generate --validate
39
39
job_002 :
@@ -50,69 +50,74 @@ jobs:
50
50
os:ubuntu-latest;pub-cache-hosted;dart:dev
51
51
os:ubuntu-latest;pub-cache-hosted
52
52
os:ubuntu-latest
53
- - uses : cedx /setup-dart@v2
53
+ - uses : dart-lang /setup-dart@v0.3
54
54
with :
55
- release-channel : dev
56
- - run : dart --version
57
- - uses : actions/checkout@v2
55
+ sdk : dev
56
+ - id : checkout
57
+ uses : actions/checkout@v2
58
58
- id : _test_yaml_pub_upgrade
59
59
name : " _test_yaml; pub upgrade --no-precompile"
60
+ if : " always() && steps.checkout.conclusion == 'success'"
60
61
working-directory : _test_yaml
61
62
run : pub upgrade --no-precompile
62
63
- name : " _test_yaml; dartfmt -n --set-exit-if-changed ."
63
- if : " steps._test_yaml_pub_upgrade.conclusion == 'success'"
64
+ if : " always() && steps._test_yaml_pub_upgrade.conclusion == 'success'"
64
65
working-directory : _test_yaml
65
66
run : dartfmt -n --set-exit-if-changed .
66
67
- name : " _test_yaml; dartanalyzer --fatal-infos ."
67
- if : " steps._test_yaml_pub_upgrade.conclusion == 'success'"
68
+ if : " always() && steps._test_yaml_pub_upgrade.conclusion == 'success'"
68
69
working-directory : _test_yaml
69
70
run : dartanalyzer --fatal-infos .
70
71
- id : checked_yaml_pub_upgrade
71
72
name : " checked_yaml; pub upgrade --no-precompile"
73
+ if : " always() && steps.checkout.conclusion == 'success'"
72
74
working-directory : checked_yaml
73
75
run : pub upgrade --no-precompile
74
76
- name : " checked_yaml; dartfmt -n --set-exit-if-changed ."
75
- if : " steps.checked_yaml_pub_upgrade.conclusion == 'success'"
77
+ if : " always() && steps.checked_yaml_pub_upgrade.conclusion == 'success'"
76
78
working-directory : checked_yaml
77
79
run : dartfmt -n --set-exit-if-changed .
78
80
- name : " checked_yaml; dartanalyzer --fatal-infos ."
79
- if : " steps.checked_yaml_pub_upgrade.conclusion == 'success'"
81
+ if : " always() && steps.checked_yaml_pub_upgrade.conclusion == 'success'"
80
82
working-directory : checked_yaml
81
83
run : dartanalyzer --fatal-infos .
82
84
- id : example_pub_upgrade
83
85
name : " example; pub upgrade --no-precompile"
86
+ if : " always() && steps.checkout.conclusion == 'success'"
84
87
working-directory : example
85
88
run : pub upgrade --no-precompile
86
89
- name : " example; dartfmt -n --set-exit-if-changed ."
87
- if : " steps.example_pub_upgrade.conclusion == 'success'"
90
+ if : " always() && steps.example_pub_upgrade.conclusion == 'success'"
88
91
working-directory : example
89
92
run : dartfmt -n --set-exit-if-changed .
90
93
- name : " example; dartanalyzer --fatal-infos ."
91
- if : " steps.example_pub_upgrade.conclusion == 'success'"
94
+ if : " always() && steps.example_pub_upgrade.conclusion == 'success'"
92
95
working-directory : example
93
96
run : dartanalyzer --fatal-infos .
94
97
- id : json_annotation_pub_upgrade
95
98
name : " json_annotation; pub upgrade --no-precompile"
99
+ if : " always() && steps.checkout.conclusion == 'success'"
96
100
working-directory : json_annotation
97
101
run : pub upgrade --no-precompile
98
102
- name : " json_annotation; dartfmt -n --set-exit-if-changed ."
99
- if : " steps.json_annotation_pub_upgrade.conclusion == 'success'"
103
+ if : " always() && steps.json_annotation_pub_upgrade.conclusion == 'success'"
100
104
working-directory : json_annotation
101
105
run : dartfmt -n --set-exit-if-changed .
102
106
- name : " json_annotation; dartanalyzer --fatal-infos ."
103
- if : " steps.json_annotation_pub_upgrade.conclusion == 'success'"
107
+ if : " always() && steps.json_annotation_pub_upgrade.conclusion == 'success'"
104
108
working-directory : json_annotation
105
109
run : dartanalyzer --fatal-infos .
106
110
- id : json_serializable_pub_upgrade
107
111
name : " json_serializable; pub upgrade --no-precompile"
112
+ if : " always() && steps.checkout.conclusion == 'success'"
108
113
working-directory : json_serializable
109
114
run : pub upgrade --no-precompile
110
115
- name : " json_serializable; dartfmt -n --set-exit-if-changed ."
111
- if : " steps.json_serializable_pub_upgrade.conclusion == 'success'"
116
+ if : " always() && steps.json_serializable_pub_upgrade.conclusion == 'success'"
112
117
working-directory : json_serializable
113
118
run : dartfmt -n --set-exit-if-changed .
114
119
- name : " json_serializable; dartanalyzer --fatal-infos ."
115
- if : " steps.json_serializable_pub_upgrade.conclusion == 'success'"
120
+ if : " always() && steps.json_serializable_pub_upgrade.conclusion == 'success'"
116
121
working-directory : json_serializable
117
122
run : dartanalyzer --fatal-infos .
118
123
job_003 :
@@ -129,41 +134,45 @@ jobs:
129
134
os:ubuntu-latest;pub-cache-hosted;dart:dev
130
135
os:ubuntu-latest;pub-cache-hosted
131
136
os:ubuntu-latest
132
- - uses : cedx /setup-dart@v2
137
+ - uses : dart-lang /setup-dart@v0.3
133
138
with :
134
- release-channel : dev
135
- - run : dart --version
136
- - uses : actions/checkout@v2
139
+ sdk : dev
140
+ - id : checkout
141
+ uses : actions/checkout@v2
137
142
- id : _test_yaml_pub_upgrade
138
143
name : " _test_yaml; pub upgrade --no-precompile"
144
+ if : " always() && steps.checkout.conclusion == 'success'"
139
145
working-directory : _test_yaml
140
146
run : pub upgrade --no-precompile
141
147
- name : _test_yaml; pub run test
142
- if : " steps._test_yaml_pub_upgrade.conclusion == 'success'"
148
+ if : " always() && steps._test_yaml_pub_upgrade.conclusion == 'success'"
143
149
working-directory : _test_yaml
144
150
run : pub run test
145
151
- id : checked_yaml_pub_upgrade
146
152
name : " checked_yaml; pub upgrade --no-precompile"
153
+ if : " always() && steps.checkout.conclusion == 'success'"
147
154
working-directory : checked_yaml
148
155
run : pub upgrade --no-precompile
149
156
- name : checked_yaml; pub run test
150
- if : " steps.checked_yaml_pub_upgrade.conclusion == 'success'"
157
+ if : " always() && steps.checked_yaml_pub_upgrade.conclusion == 'success'"
151
158
working-directory : checked_yaml
152
159
run : pub run test
153
160
- id : example_pub_upgrade
154
161
name : " example; pub upgrade --no-precompile"
162
+ if : " always() && steps.checkout.conclusion == 'success'"
155
163
working-directory : example
156
164
run : pub upgrade --no-precompile
157
165
- name : example; pub run test
158
- if : " steps.example_pub_upgrade.conclusion == 'success'"
166
+ if : " always() && steps.example_pub_upgrade.conclusion == 'success'"
159
167
working-directory : example
160
168
run : pub run test
161
169
- id : json_serializable_pub_upgrade
162
170
name : " json_serializable; pub upgrade --no-precompile"
171
+ if : " always() && steps.checkout.conclusion == 'success'"
163
172
working-directory : json_serializable
164
173
run : pub upgrade --no-precompile
165
174
- name : json_serializable; pub run test
166
- if : " steps.json_serializable_pub_upgrade.conclusion == 'success'"
175
+ if : " always() && steps.json_serializable_pub_upgrade.conclusion == 'success'"
167
176
working-directory : json_serializable
168
177
run : pub run test
169
178
needs :
@@ -183,17 +192,18 @@ jobs:
183
192
os:ubuntu-latest;pub-cache-hosted;dart:dev
184
193
os:ubuntu-latest;pub-cache-hosted
185
194
os:ubuntu-latest
186
- - uses : cedx /setup-dart@v2
195
+ - uses : dart-lang /setup-dart@v0.3
187
196
with :
188
- release-channel : dev
189
- - run : dart --version
190
- - uses : actions/checkout@v2
197
+ sdk : dev
198
+ - id : checkout
199
+ uses : actions/checkout@v2
191
200
- id : json_serializable_pub_upgrade
192
201
name : " json_serializable; pub upgrade --no-precompile"
202
+ if : " always() && steps.checkout.conclusion == 'success'"
193
203
working-directory : json_serializable
194
204
run : pub upgrade --no-precompile
195
205
- name : " json_serializable; pub run test -p chrome"
196
- if : " steps.json_serializable_pub_upgrade.conclusion == 'success'"
206
+ if : " always() && steps.json_serializable_pub_upgrade.conclusion == 'success'"
197
207
working-directory : json_serializable
198
208
run : pub run test -p chrome
199
209
needs :
@@ -213,41 +223,45 @@ jobs:
213
223
os:ubuntu-latest;pub-cache-hosted;dart:dev
214
224
os:ubuntu-latest;pub-cache-hosted
215
225
os:ubuntu-latest
216
- - uses : cedx /setup-dart@v2
226
+ - uses : dart-lang /setup-dart@v0.3
217
227
with :
218
- release-channel : dev
219
- - run : dart --version
220
- - uses : actions/checkout@v2
228
+ sdk : dev
229
+ - id : checkout
230
+ uses : actions/checkout@v2
221
231
- id : _test_yaml_pub_upgrade
222
232
name : " _test_yaml; pub upgrade --no-precompile"
233
+ if : " always() && steps.checkout.conclusion == 'success'"
223
234
working-directory : _test_yaml
224
235
run : pub upgrade --no-precompile
225
236
- name : " _test_yaml; pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart"
226
- if : " steps._test_yaml_pub_upgrade.conclusion == 'success'"
237
+ if : " always() && steps._test_yaml_pub_upgrade.conclusion == 'success'"
227
238
working-directory : _test_yaml
228
239
run : pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart
229
240
- id : checked_yaml_pub_upgrade
230
241
name : " checked_yaml; pub upgrade --no-precompile"
242
+ if : " always() && steps.checkout.conclusion == 'success'"
231
243
working-directory : checked_yaml
232
244
run : pub upgrade --no-precompile
233
245
- name : " checked_yaml; pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart"
234
- if : " steps.checked_yaml_pub_upgrade.conclusion == 'success'"
246
+ if : " always() && steps.checked_yaml_pub_upgrade.conclusion == 'success'"
235
247
working-directory : checked_yaml
236
248
run : pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart
237
249
- id : example_pub_upgrade
238
250
name : " example; pub upgrade --no-precompile"
251
+ if : " always() && steps.checkout.conclusion == 'success'"
239
252
working-directory : example
240
253
run : pub upgrade --no-precompile
241
254
- name : " example; pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart"
242
- if : " steps.example_pub_upgrade.conclusion == 'success'"
255
+ if : " always() && steps.example_pub_upgrade.conclusion == 'success'"
243
256
working-directory : example
244
257
run : pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart
245
258
- id : json_serializable_pub_upgrade
246
259
name : " json_serializable; pub upgrade --no-precompile"
260
+ if : " always() && steps.checkout.conclusion == 'success'"
247
261
working-directory : json_serializable
248
262
run : pub upgrade --no-precompile
249
263
- name : " json_serializable; pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart"
250
- if : " steps.json_serializable_pub_upgrade.conclusion == 'success'"
264
+ if : " always() && steps.json_serializable_pub_upgrade.conclusion == 'success'"
251
265
working-directory : json_serializable
252
266
run : pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart
253
267
needs :
0 commit comments