Skip to content

Commit c7a7250

Browse files
authored
Regenerate with mono_repo v3.4.5 (google#790)
1 parent 6c6cc54 commit c7a7250

File tree

2 files changed

+56
-42
lines changed

2 files changed

+56
-42
lines changed

.github/workflows/dart.yml

+55-41
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Created with package:mono_repo v3.4.2
1+
# Created with package:mono_repo v3.4.5
22
name: Dart CI
33
on:
44
push:
@@ -27,13 +27,13 @@ jobs:
2727
restore-keys: |
2828
os:ubuntu-latest;pub-cache-hosted
2929
os:ubuntu-latest
30-
- uses: cedx/setup-dart@v2
30+
- uses: dart-lang/setup-dart@v0.3
3131
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
3535
- 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
3737
- name: mono_repo self validate
3838
run: pub global run mono_repo generate --validate
3939
job_002:
@@ -50,69 +50,74 @@ jobs:
5050
os:ubuntu-latest;pub-cache-hosted;dart:dev
5151
os:ubuntu-latest;pub-cache-hosted
5252
os:ubuntu-latest
53-
- uses: cedx/setup-dart@v2
53+
- uses: dart-lang/setup-dart@v0.3
5454
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
5858
- id: _test_yaml_pub_upgrade
5959
name: "_test_yaml; pub upgrade --no-precompile"
60+
if: "always() && steps.checkout.conclusion == 'success'"
6061
working-directory: _test_yaml
6162
run: pub upgrade --no-precompile
6263
- 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'"
6465
working-directory: _test_yaml
6566
run: dartfmt -n --set-exit-if-changed .
6667
- 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'"
6869
working-directory: _test_yaml
6970
run: dartanalyzer --fatal-infos .
7071
- id: checked_yaml_pub_upgrade
7172
name: "checked_yaml; pub upgrade --no-precompile"
73+
if: "always() && steps.checkout.conclusion == 'success'"
7274
working-directory: checked_yaml
7375
run: pub upgrade --no-precompile
7476
- 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'"
7678
working-directory: checked_yaml
7779
run: dartfmt -n --set-exit-if-changed .
7880
- 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'"
8082
working-directory: checked_yaml
8183
run: dartanalyzer --fatal-infos .
8284
- id: example_pub_upgrade
8385
name: "example; pub upgrade --no-precompile"
86+
if: "always() && steps.checkout.conclusion == 'success'"
8487
working-directory: example
8588
run: pub upgrade --no-precompile
8689
- 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'"
8891
working-directory: example
8992
run: dartfmt -n --set-exit-if-changed .
9093
- name: "example; dartanalyzer --fatal-infos ."
91-
if: "steps.example_pub_upgrade.conclusion == 'success'"
94+
if: "always() && steps.example_pub_upgrade.conclusion == 'success'"
9295
working-directory: example
9396
run: dartanalyzer --fatal-infos .
9497
- id: json_annotation_pub_upgrade
9598
name: "json_annotation; pub upgrade --no-precompile"
99+
if: "always() && steps.checkout.conclusion == 'success'"
96100
working-directory: json_annotation
97101
run: pub upgrade --no-precompile
98102
- 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'"
100104
working-directory: json_annotation
101105
run: dartfmt -n --set-exit-if-changed .
102106
- 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'"
104108
working-directory: json_annotation
105109
run: dartanalyzer --fatal-infos .
106110
- id: json_serializable_pub_upgrade
107111
name: "json_serializable; pub upgrade --no-precompile"
112+
if: "always() && steps.checkout.conclusion == 'success'"
108113
working-directory: json_serializable
109114
run: pub upgrade --no-precompile
110115
- 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'"
112117
working-directory: json_serializable
113118
run: dartfmt -n --set-exit-if-changed .
114119
- 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'"
116121
working-directory: json_serializable
117122
run: dartanalyzer --fatal-infos .
118123
job_003:
@@ -129,41 +134,45 @@ jobs:
129134
os:ubuntu-latest;pub-cache-hosted;dart:dev
130135
os:ubuntu-latest;pub-cache-hosted
131136
os:ubuntu-latest
132-
- uses: cedx/setup-dart@v2
137+
- uses: dart-lang/setup-dart@v0.3
133138
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
137142
- id: _test_yaml_pub_upgrade
138143
name: "_test_yaml; pub upgrade --no-precompile"
144+
if: "always() && steps.checkout.conclusion == 'success'"
139145
working-directory: _test_yaml
140146
run: pub upgrade --no-precompile
141147
- 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'"
143149
working-directory: _test_yaml
144150
run: pub run test
145151
- id: checked_yaml_pub_upgrade
146152
name: "checked_yaml; pub upgrade --no-precompile"
153+
if: "always() && steps.checkout.conclusion == 'success'"
147154
working-directory: checked_yaml
148155
run: pub upgrade --no-precompile
149156
- 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'"
151158
working-directory: checked_yaml
152159
run: pub run test
153160
- id: example_pub_upgrade
154161
name: "example; pub upgrade --no-precompile"
162+
if: "always() && steps.checkout.conclusion == 'success'"
155163
working-directory: example
156164
run: pub upgrade --no-precompile
157165
- name: example; pub run test
158-
if: "steps.example_pub_upgrade.conclusion == 'success'"
166+
if: "always() && steps.example_pub_upgrade.conclusion == 'success'"
159167
working-directory: example
160168
run: pub run test
161169
- id: json_serializable_pub_upgrade
162170
name: "json_serializable; pub upgrade --no-precompile"
171+
if: "always() && steps.checkout.conclusion == 'success'"
163172
working-directory: json_serializable
164173
run: pub upgrade --no-precompile
165174
- 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'"
167176
working-directory: json_serializable
168177
run: pub run test
169178
needs:
@@ -183,17 +192,18 @@ jobs:
183192
os:ubuntu-latest;pub-cache-hosted;dart:dev
184193
os:ubuntu-latest;pub-cache-hosted
185194
os:ubuntu-latest
186-
- uses: cedx/setup-dart@v2
195+
- uses: dart-lang/setup-dart@v0.3
187196
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
191200
- id: json_serializable_pub_upgrade
192201
name: "json_serializable; pub upgrade --no-precompile"
202+
if: "always() && steps.checkout.conclusion == 'success'"
193203
working-directory: json_serializable
194204
run: pub upgrade --no-precompile
195205
- 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'"
197207
working-directory: json_serializable
198208
run: pub run test -p chrome
199209
needs:
@@ -213,41 +223,45 @@ jobs:
213223
os:ubuntu-latest;pub-cache-hosted;dart:dev
214224
os:ubuntu-latest;pub-cache-hosted
215225
os:ubuntu-latest
216-
- uses: cedx/setup-dart@v2
226+
- uses: dart-lang/setup-dart@v0.3
217227
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
221231
- id: _test_yaml_pub_upgrade
222232
name: "_test_yaml; pub upgrade --no-precompile"
233+
if: "always() && steps.checkout.conclusion == 'success'"
223234
working-directory: _test_yaml
224235
run: pub upgrade --no-precompile
225236
- 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'"
227238
working-directory: _test_yaml
228239
run: pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart
229240
- id: checked_yaml_pub_upgrade
230241
name: "checked_yaml; pub upgrade --no-precompile"
242+
if: "always() && steps.checkout.conclusion == 'success'"
231243
working-directory: checked_yaml
232244
run: pub upgrade --no-precompile
233245
- 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'"
235247
working-directory: checked_yaml
236248
run: pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart
237249
- id: example_pub_upgrade
238250
name: "example; pub upgrade --no-precompile"
251+
if: "always() && steps.checkout.conclusion == 'success'"
239252
working-directory: example
240253
run: pub upgrade --no-precompile
241254
- 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'"
243256
working-directory: example
244257
run: pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart
245258
- id: json_serializable_pub_upgrade
246259
name: "json_serializable; pub upgrade --no-precompile"
260+
if: "always() && steps.checkout.conclusion == 'success'"
247261
working-directory: json_serializable
248262
run: pub upgrade --no-precompile
249263
- 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'"
251265
working-directory: json_serializable
252266
run: pub run test --run-skipped -t presubmit-only test/ensure_build_test.dart
253267
needs:

tool/ci.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Created with package:mono_repo v3.4.2
2+
# Created with package:mono_repo v3.4.5
33

44
# Support built in commands on windows out of the box.
55
function pub() {

0 commit comments

Comments
 (0)