Skip to content

Commit da247b2

Browse files
authored
Latest CI actions (#646)
1 parent 4969e7d commit da247b2

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

.github/workflows/dart.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Created with package:mono_repo v6.4.3
1+
# Created with package:mono_repo v6.5.0
22
name: Dart CI
33
on:
44
push:
@@ -21,30 +21,30 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Cache Pub hosted dependencies
24-
uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
24+
uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920
2525
with:
2626
path: "~/.pub-cache/hosted"
2727
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable"
2828
restore-keys: |
2929
os:ubuntu-latest;pub-cache-hosted
3030
os:ubuntu-latest
3131
- name: Setup Dart SDK
32-
uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
32+
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
3333
with:
3434
sdk: stable
3535
- id: checkout
3636
name: Checkout repository
37-
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
37+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
3838
- name: mono_repo self validate
39-
run: dart pub global activate mono_repo 6.4.3
39+
run: dart pub global activate mono_repo 6.5.0
4040
- name: mono_repo self validate
4141
run: dart pub global run mono_repo generate --validate
4242
job_002:
4343
name: "analyze_format; linux; Dart 2.18.0; PKG: source_gen; `dart analyze`"
4444
runs-on: ubuntu-latest
4545
steps:
4646
- name: Cache Pub hosted dependencies
47-
uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
47+
uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920
4848
with:
4949
path: "~/.pub-cache/hosted"
5050
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.18.0;packages:source_gen;commands:analyze_1"
@@ -54,12 +54,12 @@ jobs:
5454
os:ubuntu-latest;pub-cache-hosted
5555
os:ubuntu-latest
5656
- name: Setup Dart SDK
57-
uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
57+
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
5858
with:
5959
sdk: "2.18.0"
6060
- id: checkout
6161
name: Checkout repository
62-
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
62+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
6363
- id: source_gen_pub_upgrade
6464
name: source_gen; dart pub upgrade
6565
run: dart pub upgrade
@@ -74,7 +74,7 @@ jobs:
7474
runs-on: ubuntu-latest
7575
steps:
7676
- name: Cache Pub hosted dependencies
77-
uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
77+
uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920
7878
with:
7979
path: "~/.pub-cache/hosted"
8080
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:_test_annotations-example-example_usage-source_gen;commands:format-analyze_0"
@@ -84,12 +84,12 @@ jobs:
8484
os:ubuntu-latest;pub-cache-hosted
8585
os:ubuntu-latest
8686
- name: Setup Dart SDK
87-
uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
87+
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
8888
with:
8989
sdk: dev
9090
- id: checkout
9191
name: Checkout repository
92-
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
92+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
9393
- id: _test_annotations_pub_upgrade
9494
name: _test_annotations; dart pub upgrade
9595
run: dart pub upgrade
@@ -147,7 +147,7 @@ jobs:
147147
runs-on: ubuntu-latest
148148
steps:
149149
- name: Cache Pub hosted dependencies
150-
uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
150+
uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920
151151
with:
152152
path: "~/.pub-cache/hosted"
153153
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.18.0;packages:example_usage;commands:test_0"
@@ -157,12 +157,12 @@ jobs:
157157
os:ubuntu-latest;pub-cache-hosted
158158
os:ubuntu-latest
159159
- name: Setup Dart SDK
160-
uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
160+
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
161161
with:
162162
sdk: "2.18.0"
163163
- id: checkout
164164
name: Checkout repository
165-
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
165+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
166166
- id: example_usage_pub_upgrade
167167
name: example_usage; dart pub upgrade
168168
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@4723a57e26efda3a62cbde1812113b730952852d
184+
uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920
185185
with:
186186
path: "~/.pub-cache/hosted"
187187
key: "os:ubuntu-latest;pub-cache-hosted;sdk:2.18.0;packages:source_gen;commands:test_1"
@@ -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@6a218f2413a3e78e9087f638a238f6b40893203d
194+
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
195195
with:
196196
sdk: "2.18.0"
197197
- id: checkout
198198
name: Checkout repository
199-
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
199+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
200200
- id: source_gen_pub_upgrade
201201
name: source_gen; dart pub upgrade
202202
run: dart pub upgrade
@@ -215,7 +215,7 @@ jobs:
215215
runs-on: ubuntu-latest
216216
steps:
217217
- name: Cache Pub hosted dependencies
218-
uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
218+
uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920
219219
with:
220220
path: "~/.pub-cache/hosted"
221221
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:example_usage;commands:test_0"
@@ -225,12 +225,12 @@ jobs:
225225
os:ubuntu-latest;pub-cache-hosted
226226
os:ubuntu-latest
227227
- name: Setup Dart SDK
228-
uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
228+
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
229229
with:
230230
sdk: dev
231231
- id: checkout
232232
name: Checkout repository
233-
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
233+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
234234
- id: example_usage_pub_upgrade
235235
name: example_usage; dart pub upgrade
236236
run: dart pub upgrade
@@ -249,7 +249,7 @@ jobs:
249249
runs-on: ubuntu-latest
250250
steps:
251251
- name: Cache Pub hosted dependencies
252-
uses: actions/cache@4723a57e26efda3a62cbde1812113b730952852d
252+
uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920
253253
with:
254254
path: "~/.pub-cache/hosted"
255255
key: "os:ubuntu-latest;pub-cache-hosted;sdk:dev;packages:source_gen;commands:test_1"
@@ -259,12 +259,12 @@ jobs:
259259
os:ubuntu-latest;pub-cache-hosted
260260
os:ubuntu-latest
261261
- name: Setup Dart SDK
262-
uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
262+
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
263263
with:
264264
sdk: dev
265265
- id: checkout
266266
name: Checkout repository
267-
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
267+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
268268
- id: source_gen_pub_upgrade
269269
name: source_gen; dart pub upgrade
270270
run: dart pub upgrade
@@ -283,12 +283,12 @@ jobs:
283283
runs-on: windows-latest
284284
steps:
285285
- name: Setup Dart SDK
286-
uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
286+
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
287287
with:
288288
sdk: "2.18.0"
289289
- id: checkout
290290
name: Checkout repository
291-
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
291+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
292292
- id: source_gen_pub_upgrade
293293
name: source_gen; dart pub upgrade
294294
run: dart pub upgrade
@@ -307,12 +307,12 @@ jobs:
307307
runs-on: windows-latest
308308
steps:
309309
- name: Setup Dart SDK
310-
uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d
310+
uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
311311
with:
312312
sdk: dev
313313
- id: checkout
314314
name: Checkout repository
315-
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
315+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
316316
- id: source_gen_pub_upgrade
317317
name: source_gen; dart pub upgrade
318318
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.4.3
2+
# Created with package:mono_repo v6.5.0
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)