Skip to content

Commit 847d61a

Browse files
authored
chore: release latest mono_repo (#447)
1 parent abf66df commit 847d61a

File tree

3 files changed

+48
-52
lines changed

3 files changed

+48
-52
lines changed

.github/workflows/lint.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Created with package:mono_repo v6.6.0
1+
# Created with package:mono_repo v6.6.1
22
name: Dart Lint CI
33
on:
44
push:
@@ -20,30 +20,30 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Cache Pub hosted dependencies
23-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
23+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
2424
with:
2525
path: "~/.pub-cache/hosted"
2626
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable"
2727
restore-keys: |
2828
os:ubuntu-latest;pub-cache-hosted
2929
os:ubuntu-latest
3030
- name: Setup Dart SDK
31-
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
31+
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
3232
with:
3333
sdk: stable
3434
- id: checkout
3535
name: Checkout repository
36-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
36+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
3737
- name: mono_repo self validate
38-
run: dart pub global activate mono_repo 6.6.0
38+
run: dart pub global activate mono_repo 6.6.1
3939
- name: mono_repo self validate
4040
run: dart pub global run mono_repo generate --validate
4141
job_002:
4242
name: "analyze_format; Dart 3.0.0; PKGS: dartfn, dartfn/templates/cloudevent, dartfn/templates/helloworld, dartfn/templates/json, examples/fullstack/backend, examples/fullstack/frontend-cli, examples/hello, examples/json, examples/protobuf_firestore, examples/raw_cloudevent, functions_framework, functions_framework_builder, google_cloud; `dart analyze`"
4343
runs-on: ubuntu-latest
4444
steps:
4545
- name: Cache Pub hosted dependencies
46-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
46+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
4747
with:
4848
path: "~/.pub-cache/hosted"
4949
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:dartfn-dartfn/templates/cloudevent-dartfn/templates/helloworld-dartfn/templates/json-examples/fullstack/backend-examples/fullstack/frontend-cli-examples/hello-examples/json-examples/protobuf_firestore-examples/raw_cloudevent-functions_framework-functions_framework_builder-google_cloud;commands:analyze_1"
@@ -53,12 +53,12 @@ jobs:
5353
os:ubuntu-latest;pub-cache-hosted
5454
os:ubuntu-latest
5555
- name: Setup Dart SDK
56-
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
56+
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
5757
with:
5858
sdk: "3.0.0"
5959
- id: checkout
6060
name: Checkout repository
61-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
61+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
6262
- id: dartfn_pub_upgrade
6363
name: dartfn; dart pub upgrade
6464
run: dart pub upgrade
@@ -181,7 +181,7 @@ jobs:
181181
runs-on: ubuntu-latest
182182
steps:
183183
- name: Cache Pub hosted dependencies
184-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
184+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
185185
with:
186186
path: "~/.pub-cache/hosted"
187187
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dartfn-dartfn/templates/cloudevent-dartfn/templates/helloworld-dartfn/templates/json-examples/fullstack/backend-examples/fullstack/frontend-cli-examples/hello-examples/json-examples/protobuf_firestore-examples/raw_cloudevent-functions_framework-functions_framework_builder-google_cloud-integration_test;commands:format-analyze_0"
@@ -191,12 +191,12 @@ jobs:
191191
os:ubuntu-latest;pub-cache-hosted
192192
os:ubuntu-latest
193193
- name: Setup Dart SDK
194-
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
194+
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
195195
with:
196196
sdk: dev
197197
- id: checkout
198198
name: Checkout repository
199-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
199+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
200200
- id: dartfn_pub_upgrade
201201
name: dartfn; dart pub upgrade
202202
run: dart pub upgrade
@@ -384,7 +384,7 @@ jobs:
384384
runs-on: ubuntu-latest
385385
steps:
386386
- name: Cache Pub hosted dependencies
387-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
387+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
388388
with:
389389
path: "~/.pub-cache/hosted"
390390
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:integration_test;commands:analyze_1"
@@ -394,12 +394,12 @@ jobs:
394394
os:ubuntu-latest;pub-cache-hosted
395395
os:ubuntu-latest
396396
- name: Setup Dart SDK
397-
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
397+
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
398398
with:
399399
sdk: dev
400400
- id: checkout
401401
name: Checkout repository
402-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
402+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
403403
- id: integration_test_pub_upgrade
404404
name: integration_test; dart pub upgrade
405405
run: dart pub upgrade
@@ -414,7 +414,7 @@ jobs:
414414
runs-on: ubuntu-latest
415415
steps:
416416
- name: Cache Pub hosted dependencies
417-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
417+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
418418
with:
419419
path: "~/.pub-cache/hosted"
420420
key: "os:ubuntu-latest;pub-cache-hosted;sdk:master;packages:examples/fullstack/frontend;commands:format-analyze_2"
@@ -424,12 +424,12 @@ jobs:
424424
os:ubuntu-latest;pub-cache-hosted
425425
os:ubuntu-latest
426426
- name: Setup Flutter SDK
427-
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa
427+
uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225
428428
with:
429429
channel: master
430430
- id: checkout
431431
name: Checkout repository
432-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
432+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
433433
- id: examples_fullstack_frontend_pub_upgrade
434434
name: examples/fullstack/frontend; flutter pub upgrade
435435
run: flutter pub upgrade
@@ -448,7 +448,7 @@ jobs:
448448
runs-on: ubuntu-latest
449449
steps:
450450
- name: Cache Pub hosted dependencies
451-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
451+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
452452
with:
453453
path: "~/.pub-cache/hosted"
454454
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:examples/fullstack/frontend;commands:analyze_3"
@@ -458,12 +458,12 @@ jobs:
458458
os:ubuntu-latest;pub-cache-hosted
459459
os:ubuntu-latest
460460
- name: Setup Flutter SDK
461-
uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa
461+
uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225
462462
with:
463463
channel: stable
464464
- id: checkout
465465
name: Checkout repository
466-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
466+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
467467
- id: examples_fullstack_frontend_pub_upgrade
468468
name: examples/fullstack/frontend; flutter pub upgrade
469469
run: flutter pub upgrade

.github/workflows/unit.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Created with package:mono_repo v6.6.0
1+
# Created with package:mono_repo v6.6.1
22
name: Dart Unit CI
33
on:
44
push:
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Cache Pub hosted dependencies
23-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
23+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
2424
with:
2525
path: "~/.pub-cache/hosted"
2626
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:dartfn-functions_framework_builder-google_cloud-integration_test;commands:test_0"
@@ -30,12 +30,12 @@ jobs:
3030
os:ubuntu-latest;pub-cache-hosted
3131
os:ubuntu-latest
3232
- name: Setup Dart SDK
33-
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
33+
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
3434
with:
3535
sdk: "3.0.0"
3636
- id: checkout
3737
name: Checkout repository
38-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
38+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
3939
- id: dartfn_pub_upgrade
4040
name: dartfn; dart pub upgrade
4141
run: dart pub upgrade
@@ -77,7 +77,7 @@ jobs:
7777
runs-on: ubuntu-latest
7878
steps:
7979
- name: Cache Pub hosted dependencies
80-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
80+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
8181
with:
8282
path: "~/.pub-cache/hosted"
8383
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.0.0;packages:google_cloud;commands:command"
@@ -87,12 +87,12 @@ jobs:
8787
os:ubuntu-latest;pub-cache-hosted
8888
os:ubuntu-latest
8989
- name: Setup Dart SDK
90-
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
90+
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
9191
with:
9292
sdk: "3.0.0"
9393
- id: checkout
9494
name: Checkout repository
95-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
95+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
9696
- id: google_cloud_pub_upgrade
9797
name: google_cloud; dart pub upgrade
9898
run: dart pub upgrade
@@ -107,7 +107,7 @@ jobs:
107107
runs-on: ubuntu-latest
108108
steps:
109109
- name: Cache Pub hosted dependencies
110-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
110+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
111111
with:
112112
path: "~/.pub-cache/hosted"
113113
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dartfn-dartfn/templates/cloudevent-dartfn/templates/helloworld-dartfn/templates/json-examples/fullstack/backend-examples/hello-examples/json-examples/protobuf_firestore-examples/raw_cloudevent-functions_framework_builder-google_cloud-integration_test;commands:test_0"
@@ -117,12 +117,12 @@ jobs:
117117
os:ubuntu-latest;pub-cache-hosted
118118
os:ubuntu-latest
119119
- name: Setup Dart SDK
120-
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
120+
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
121121
with:
122122
sdk: dev
123123
- id: checkout
124124
name: Checkout repository
125-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
125+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
126126
- id: dartfn_pub_upgrade
127127
name: dartfn; dart pub upgrade
128128
run: dart pub upgrade
@@ -236,7 +236,7 @@ jobs:
236236
runs-on: ubuntu-latest
237237
steps:
238238
- name: Cache Pub hosted dependencies
239-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
239+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
240240
with:
241241
path: "~/.pub-cache/hosted"
242242
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:dartfn-functions_framework-integration_test;commands:test_1"
@@ -246,12 +246,12 @@ jobs:
246246
os:ubuntu-latest;pub-cache-hosted
247247
os:ubuntu-latest
248248
- name: Setup Dart SDK
249-
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
249+
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
250250
with:
251251
sdk: dev
252252
- id: checkout
253253
name: Checkout repository
254-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
254+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
255255
- id: dartfn_pub_upgrade
256256
name: dartfn; dart pub upgrade
257257
run: dart pub upgrade
@@ -284,7 +284,7 @@ jobs:
284284
runs-on: macos-latest
285285
steps:
286286
- name: Cache Pub hosted dependencies
287-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
287+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
288288
with:
289289
path: "~/.pub-cache/hosted"
290290
key: "os:macos-latest;pub-cache-hosted;sdk:3.0.0;packages:google_cloud;commands:test_0"
@@ -294,12 +294,12 @@ jobs:
294294
os:macos-latest;pub-cache-hosted
295295
os:macos-latest
296296
- name: Setup Dart SDK
297-
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
297+
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
298298
with:
299299
sdk: "3.0.0"
300300
- id: checkout
301301
name: Checkout repository
302-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
302+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
303303
- id: google_cloud_pub_upgrade
304304
name: google_cloud; dart pub upgrade
305305
run: dart pub upgrade
@@ -314,7 +314,7 @@ jobs:
314314
runs-on: macos-latest
315315
steps:
316316
- name: Cache Pub hosted dependencies
317-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
317+
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
318318
with:
319319
path: "~/.pub-cache/hosted"
320320
key: "os:macos-latest;pub-cache-hosted;sdk:dev;packages:google_cloud;commands:test_0"
@@ -324,12 +324,12 @@ jobs:
324324
os:macos-latest;pub-cache-hosted
325325
os:macos-latest
326326
- name: Setup Dart SDK
327-
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
327+
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
328328
with:
329329
sdk: dev
330330
- id: checkout
331331
name: Checkout repository
332-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
332+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
333333
- id: google_cloud_pub_upgrade
334334
name: google_cloud; dart pub upgrade
335335
run: dart pub upgrade
@@ -344,12 +344,12 @@ jobs:
344344
runs-on: windows-latest
345345
steps:
346346
- name: Setup Dart SDK
347-
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
347+
uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
348348
with:
349349
sdk: dev
350350
- id: checkout
351351
name: Checkout repository
352-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
352+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
353353
- id: google_cloud_pub_upgrade
354354
name: google_cloud; dart pub upgrade
355355
run: dart pub upgrade

tool/ci.sh

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/bin/bash
2-
# Created with package:mono_repo v6.6.0
2+
# Created with package:mono_repo v6.6.1
33

44
# Support built in commands on windows out of the box.
5+
56
# When it is a flutter repo (check the pubspec.yaml for "sdk: flutter")
6-
# then "flutter" is called instead of "pub".
7+
# then "flutter pub" is called instead of "dart pub".
78
# This assumes that the Flutter SDK has been installed in a previous step.
89
function pub() {
910
if grep -Fq "sdk: flutter" "${PWD}/pubspec.yaml"; then
@@ -12,18 +13,13 @@ function pub() {
1213
command dart pub "$@"
1314
fi
1415
}
15-
# When it is a flutter repo (check the pubspec.yaml for "sdk: flutter")
16-
# then "flutter" is called instead of "pub".
17-
# This assumes that the Flutter SDK has been installed in a previous step.
16+
1817
function format() {
19-
if grep -Fq "sdk: flutter" "${PWD}/pubspec.yaml"; then
20-
command flutter format "$@"
21-
else
22-
command dart format "$@"
23-
fi
18+
command dart format "$@"
2419
}
20+
2521
# When it is a flutter repo (check the pubspec.yaml for "sdk: flutter")
26-
# then "flutter" is called instead of "pub".
22+
# then "flutter analyze" is called instead of "dart analyze".
2723
# This assumes that the Flutter SDK has been installed in a previous step.
2824
function analyze() {
2925
if grep -Fq "sdk: flutter" "${PWD}/pubspec.yaml"; then

0 commit comments

Comments
 (0)