Skip to content

Commit 9d7cf0d

Browse files
authored
Update Github Actions (#827)
1 parent b90a4c4 commit 9d7cf0d

File tree

2 files changed

+46
-46
lines changed

2 files changed

+46
-46
lines changed

.github/workflows/dart.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Created with package:mono_repo v6.5.1
1+
# Created with package:mono_repo v6.5.4
22
name: Dart 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@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
23+
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
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@a57a6c04cf7d4840e88432aad6281d1e125f0d46
31+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
3232
with:
3333
sdk: stable
3434
- id: checkout
3535
name: Checkout repository
36-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
36+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
3737
- name: mono_repo self validate
38-
run: dart pub global activate mono_repo 6.5.1
38+
run: dart pub global activate mono_repo 6.5.4
3939
- name: mono_repo self validate
4040
run: dart pub global run mono_repo generate --validate
4141
job_002:
4242
name: "format_analyze; linux; Dart 2.12.0; PKG: protobuf; `dart analyze lib`, `dart analyze test`"
4343
runs-on: ubuntu-latest
4444
steps:
4545
- name: Cache Pub hosted dependencies
46-
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
46+
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
4747
with:
4848
path: "~/.pub-cache/hosted"
4949
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:protobuf;commands:analyze_1-analyze_2"
@@ -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@a57a6c04cf7d4840e88432aad6281d1e125f0d46
56+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
5757
with:
5858
sdk: "2.12.0"
5959
- id: checkout
6060
name: Checkout repository
61-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
61+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
6262
- id: protobuf_pub_upgrade
6363
name: protobuf; dart pub upgrade
6464
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@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
80+
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
8181
with:
8282
path: "~/.pub-cache/hosted"
8383
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:api_benchmark;commands:format-command_0-command_1-analyze_0"
@@ -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@a57a6c04cf7d4840e88432aad6281d1e125f0d46
90+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
9191
with:
9292
sdk: dev
9393
- id: checkout
9494
name: Checkout repository
95-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
95+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
9696
- id: api_benchmark_pub_upgrade
9797
name: api_benchmark; dart pub upgrade
9898
run: dart pub upgrade
@@ -119,7 +119,7 @@ jobs:
119119
runs-on: ubuntu-latest
120120
steps:
121121
- name: Cache Pub hosted dependencies
122-
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
122+
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
123123
with:
124124
path: "~/.pub-cache/hosted"
125125
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:benchmarks;commands:format-command_0-command_2-analyze_0"
@@ -129,12 +129,12 @@ jobs:
129129
os:ubuntu-latest;pub-cache-hosted
130130
os:ubuntu-latest
131131
- name: Setup Dart SDK
132-
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
132+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
133133
with:
134134
sdk: dev
135135
- id: checkout
136136
name: Checkout repository
137-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
137+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
138138
- id: benchmarks_pub_upgrade
139139
name: benchmarks; dart pub upgrade
140140
run: dart pub upgrade
@@ -161,7 +161,7 @@ jobs:
161161
runs-on: ubuntu-latest
162162
steps:
163163
- name: Cache Pub hosted dependencies
164-
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
164+
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
165165
with:
166166
path: "~/.pub-cache/hosted"
167167
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protobuf;commands:format-analyze_0"
@@ -171,12 +171,12 @@ jobs:
171171
os:ubuntu-latest;pub-cache-hosted
172172
os:ubuntu-latest
173173
- name: Setup Dart SDK
174-
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
174+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
175175
with:
176176
sdk: dev
177177
- id: checkout
178178
name: Checkout repository
179-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
179+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
180180
- id: protobuf_pub_upgrade
181181
name: protobuf; dart pub upgrade
182182
run: dart pub upgrade
@@ -195,7 +195,7 @@ jobs:
195195
runs-on: ubuntu-latest
196196
steps:
197197
- name: Cache Pub hosted dependencies
198-
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
198+
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
199199
with:
200200
path: "~/.pub-cache/hosted"
201201
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protoc_plugin;commands:format-command_0-command_3-analyze_3"
@@ -205,12 +205,12 @@ jobs:
205205
os:ubuntu-latest;pub-cache-hosted
206206
os:ubuntu-latest
207207
- name: Setup Dart SDK
208-
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
208+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
209209
with:
210210
sdk: dev
211211
- id: checkout
212212
name: Checkout repository
213-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
213+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
214214
- id: protoc_plugin_pub_upgrade
215215
name: protoc_plugin; dart pub upgrade
216216
run: dart pub upgrade
@@ -237,7 +237,7 @@ jobs:
237237
runs-on: ubuntu-latest
238238
steps:
239239
- name: Cache Pub hosted dependencies
240-
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
240+
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
241241
with:
242242
path: "~/.pub-cache/hosted"
243243
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.12.0;packages:protobuf;commands:test_0"
@@ -247,12 +247,12 @@ jobs:
247247
os:ubuntu-latest;pub-cache-hosted
248248
os:ubuntu-latest
249249
- name: Setup Dart SDK
250-
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
250+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
251251
with:
252252
sdk: "2.12.0"
253253
- id: checkout
254254
name: Checkout repository
255-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
255+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
256256
- id: protobuf_pub_upgrade
257257
name: protobuf; dart pub upgrade
258258
run: dart pub upgrade
@@ -274,7 +274,7 @@ jobs:
274274
runs-on: ubuntu-latest
275275
steps:
276276
- name: Cache Pub hosted dependencies
277-
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
277+
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
278278
with:
279279
path: "~/.pub-cache/hosted"
280280
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.17.0;packages:protoc_plugin;commands:command_0-command_3-test_0"
@@ -284,12 +284,12 @@ jobs:
284284
os:ubuntu-latest;pub-cache-hosted
285285
os:ubuntu-latest
286286
- name: Setup Dart SDK
287-
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
287+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
288288
with:
289289
sdk: "2.17.0"
290290
- id: checkout
291291
name: Checkout repository
292-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
292+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
293293
- id: protoc_plugin_pub_upgrade
294294
name: protoc_plugin; dart pub upgrade
295295
run: dart pub upgrade
@@ -319,7 +319,7 @@ jobs:
319319
runs-on: ubuntu-latest
320320
steps:
321321
- name: Cache Pub hosted dependencies
322-
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
322+
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
323323
with:
324324
path: "~/.pub-cache/hosted"
325325
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protobuf;commands:test_0"
@@ -329,12 +329,12 @@ jobs:
329329
os:ubuntu-latest;pub-cache-hosted
330330
os:ubuntu-latest
331331
- name: Setup Dart SDK
332-
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
332+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
333333
with:
334334
sdk: dev
335335
- id: checkout
336336
name: Checkout repository
337-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
337+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
338338
- id: protobuf_pub_upgrade
339339
name: protobuf; dart pub upgrade
340340
run: dart pub upgrade
@@ -356,7 +356,7 @@ jobs:
356356
runs-on: ubuntu-latest
357357
steps:
358358
- name: Cache Pub hosted dependencies
359-
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
359+
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
360360
with:
361361
path: "~/.pub-cache/hosted"
362362
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:protoc_plugin;commands:command_0-command_3-test_0"
@@ -366,12 +366,12 @@ jobs:
366366
os:ubuntu-latest;pub-cache-hosted
367367
os:ubuntu-latest
368368
- name: Setup Dart SDK
369-
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
369+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
370370
with:
371371
sdk: dev
372372
- id: checkout
373373
name: Checkout repository
374-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
374+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
375375
- id: protoc_plugin_pub_upgrade
376376
name: protoc_plugin; dart pub upgrade
377377
run: dart pub upgrade
@@ -401,7 +401,7 @@ jobs:
401401
runs-on: macos-latest
402402
steps:
403403
- name: Cache Pub hosted dependencies
404-
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
404+
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
405405
with:
406406
path: "~/.pub-cache/hosted"
407407
key: "os:macos-latest;pub-cache-hosted;sdk:2.12.0;packages:protobuf;commands:test_0"
@@ -411,12 +411,12 @@ jobs:
411411
os:macos-latest;pub-cache-hosted
412412
os:macos-latest
413413
- name: Setup Dart SDK
414-
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
414+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
415415
with:
416416
sdk: "2.12.0"
417417
- id: checkout
418418
name: Checkout repository
419-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
419+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
420420
- id: protobuf_pub_upgrade
421421
name: protobuf; dart pub upgrade
422422
run: dart pub upgrade
@@ -438,7 +438,7 @@ jobs:
438438
runs-on: macos-latest
439439
steps:
440440
- name: Cache Pub hosted dependencies
441-
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
441+
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
442442
with:
443443
path: "~/.pub-cache/hosted"
444444
key: "os:macos-latest;pub-cache-hosted;sdk:dev;packages:protobuf;commands:test_0"
@@ -448,12 +448,12 @@ jobs:
448448
os:macos-latest;pub-cache-hosted
449449
os:macos-latest
450450
- name: Setup Dart SDK
451-
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
451+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
452452
with:
453453
sdk: dev
454454
- id: checkout
455455
name: Checkout repository
456-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
456+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
457457
- id: protobuf_pub_upgrade
458458
name: protobuf; dart pub upgrade
459459
run: dart pub upgrade
@@ -475,12 +475,12 @@ jobs:
475475
runs-on: windows-latest
476476
steps:
477477
- name: Setup Dart SDK
478-
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
478+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
479479
with:
480480
sdk: "2.12.0"
481481
- id: checkout
482482
name: Checkout repository
483-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
483+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
484484
- id: protobuf_pub_upgrade
485485
name: protobuf; dart pub upgrade
486486
run: dart pub upgrade
@@ -502,12 +502,12 @@ jobs:
502502
runs-on: windows-latest
503503
steps:
504504
- name: Setup Dart SDK
505-
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
505+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
506506
with:
507507
sdk: dev
508508
- id: checkout
509509
name: Checkout repository
510-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
510+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
511511
- id: protobuf_pub_upgrade
512512
name: protobuf; dart pub upgrade
513513
run: dart pub upgrade
@@ -529,7 +529,7 @@ jobs:
529529
runs-on: ubuntu-latest
530530
steps:
531531
- name: Cache Pub hosted dependencies
532-
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0
532+
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
533533
with:
534534
path: "~/.pub-cache/hosted"
535535
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.17.0;packages:protoc_plugin;commands:command_0-command_3-test_1"
@@ -539,12 +539,12 @@ jobs:
539539
os:ubuntu-latest;pub-cache-hosted
540540
os:ubuntu-latest
541541
- name: Setup Dart SDK
542-
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
542+
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
543543
with:
544544
sdk: "2.17.0"
545545
- id: checkout
546546
name: Checkout repository
547-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
547+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
548548
- id: protoc_plugin_pub_upgrade
549549
name: protoc_plugin; dart pub upgrade
550550
run: dart pub upgrade

tool/ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Created with package:mono_repo v6.5.1
2+
# Created with package:mono_repo v6.5.4
33

44
# Support built in commands on windows out of the box.
55
# When it is a flutter repo (check the pubspec.yaml for "sdk: flutter")

0 commit comments

Comments
 (0)