Skip to content

Commit 7a5982a

Browse files
authored
Update to latest cache action - @2.1.5 (#320)
1 parent 2b26077 commit 7a5982a

File tree

5 files changed

+21
-20
lines changed

5 files changed

+21
-20
lines changed

.github/workflows/dart.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Cache Pub hosted dependencies
23-
uses: actions/cache@v2
23+
uses: actions/cache@v2.1.5
2424
with:
2525
path: "~/.pub-cache/hosted"
2626
key: "os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:mono_repo;commands:command"
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: ubuntu-latest
4949
steps:
5050
- name: Cache Pub hosted dependencies
51-
uses: actions/cache@v2
51+
uses: actions/cache@v2.1.5
5252
with:
5353
path: "~/.pub-cache/hosted"
5454
key: "os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:mono_repo-test_pkg;commands:dartfmt-dartanalyzer_0"
@@ -93,7 +93,7 @@ jobs:
9393
runs-on: ubuntu-latest
9494
steps:
9595
- name: Cache Pub hosted dependencies
96-
uses: actions/cache@v2
96+
uses: actions/cache@v2.1.5
9797
with:
9898
path: "~/.pub-cache/hosted"
9999
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.12.0;packages:mono_repo;commands:dartanalyzer_1"
@@ -121,7 +121,7 @@ jobs:
121121
runs-on: ubuntu-latest
122122
steps:
123123
- name: Cache Pub hosted dependencies
124-
uses: actions/cache@v2
124+
uses: actions/cache@v2.1.5
125125
with:
126126
path: "~/.pub-cache/hosted"
127127
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.10.4;packages:test_pkg;commands:dartfmt-dartanalyzer_0"
@@ -153,7 +153,7 @@ jobs:
153153
runs-on: ubuntu-latest
154154
steps:
155155
- name: Cache Pub hosted dependencies
156-
uses: actions/cache@v2
156+
uses: actions/cache@v2.1.5
157157
with:
158158
path: "~/.pub-cache/hosted"
159159
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.12.0-0.0.dev;packages:test_pkg;commands:dartfmt-dartanalyzer_0"
@@ -185,7 +185,7 @@ jobs:
185185
runs-on: ubuntu-latest
186186
steps:
187187
- name: Cache Pub hosted dependencies
188-
uses: actions/cache@v2
188+
uses: actions/cache@v2.1.5
189189
with:
190190
path: "~/.pub-cache/hosted"
191191
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.12.0-29.10.beta;packages:test_pkg;commands:dartfmt-dartanalyzer_0"
@@ -217,7 +217,7 @@ jobs:
217217
runs-on: ubuntu-latest
218218
steps:
219219
- name: Cache Pub hosted dependencies
220-
uses: actions/cache@v2
220+
uses: actions/cache@v2.1.5
221221
with:
222222
path: "~/.pub-cache/hosted"
223223
key: "os:ubuntu-latest;pub-cache-hosted;dart:beta;packages:test_pkg;commands:dartfmt-dartanalyzer_0"
@@ -249,7 +249,7 @@ jobs:
249249
runs-on: ubuntu-latest
250250
steps:
251251
- name: Cache Pub hosted dependencies
252-
uses: actions/cache@v2
252+
uses: actions/cache@v2.1.5
253253
with:
254254
path: "~/.pub-cache/hosted"
255255
key: "os:ubuntu-latest;pub-cache-hosted;dart:main;packages:test_pkg;commands:dartfmt-dartanalyzer_0"
@@ -281,7 +281,7 @@ jobs:
281281
runs-on: ubuntu-latest
282282
steps:
283283
- name: Cache Pub hosted dependencies
284-
uses: actions/cache@v2
284+
uses: actions/cache@v2.1.5
285285
with:
286286
path: "~/.pub-cache/hosted"
287287
key: "os:ubuntu-latest;pub-cache-hosted;dart:stable;packages:test_pkg;commands:dartfmt-dartanalyzer_0"
@@ -313,7 +313,7 @@ jobs:
313313
runs-on: ubuntu-latest
314314
steps:
315315
- name: Cache Pub hosted dependencies
316-
uses: actions/cache@v2
316+
uses: actions/cache@v2.1.5
317317
with:
318318
path: "~/.pub-cache/hosted"
319319
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.12.0;packages:mono_repo;commands:test_0"
@@ -379,7 +379,7 @@ jobs:
379379
runs-on: ubuntu-latest
380380
steps:
381381
- name: Cache Pub hosted dependencies
382-
uses: actions/cache@v2
382+
uses: actions/cache@v2.1.5
383383
with:
384384
path: "~/.pub-cache/hosted"
385385
key: "os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:mono_repo;commands:test_0"
@@ -445,7 +445,7 @@ jobs:
445445
runs-on: ubuntu-latest
446446
steps:
447447
- name: Cache Pub hosted dependencies
448-
uses: actions/cache@v2
448+
uses: actions/cache@v2.1.5
449449
with:
450450
path: "~/.pub-cache/hosted"
451451
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.12.0;packages:mono_repo;commands:test_1"
@@ -483,7 +483,7 @@ jobs:
483483
runs-on: ubuntu-latest
484484
steps:
485485
- name: Cache Pub hosted dependencies
486-
uses: actions/cache@v2
486+
uses: actions/cache@v2.1.5
487487
with:
488488
path: "~/.pub-cache/hosted"
489489
key: "os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:mono_repo;commands:test_1"
@@ -521,7 +521,7 @@ jobs:
521521
runs-on: ubuntu-latest
522522
steps:
523523
- name: Cache Pub hosted dependencies
524-
uses: actions/cache@v2
524+
uses: actions/cache@v2.1.5
525525
with:
526526
path: "~/.pub-cache/hosted"
527527
key: "os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:test_pkg;commands:test_2"

mono_repo/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Use `flutter[.bat]` instead of `pub[.bat]` in generated `tool/ci.sh`.
55
- Migrate code to null safety.
66
- Require Dart 2.12.
7+
- Use latest `actions/[email protected]`.
78

89
## 3.4.7
910

mono_repo/lib/src/commands/github/github_yaml.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ Map<String, dynamic> _cacheEntries(
406406

407407
return {
408408
'name': 'Cache Pub hosted dependencies',
409-
'uses': 'actions/cache@v2',
409+
'uses': 'actions/cache@v2.1.5',
410410
'with': {
411411
'path': pubCacheHosted,
412412
'key': cacheKeyParts.join(';'),

mono_repo/test/script_integration_outputs/readme_github_defaults.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Cache Pub hosted dependencies
24-
uses: actions/cache@v2
24+
uses: actions/cache@v2.1.5
2525
with:
2626
path: "~/.pub-cache/hosted"
2727
key: "os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:sub_pkg;commands:test"
@@ -49,7 +49,7 @@ jobs:
4949
runs-on: ubuntu-latest
5050
steps:
5151
- name: Cache Pub hosted dependencies
52-
uses: actions/cache@v2
52+
uses: actions/cache@v2.1.5
5353
with:
5454
path: "~/.pub-cache/hosted"
5555
key: "os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:sub_pkg;commands:test"

mono_repo/test/script_integration_outputs/readme_github_lints.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Cache Pub hosted dependencies
24-
uses: actions/cache@v2
24+
uses: actions/cache@v2.1.5
2525
with:
2626
path: "~/.pub-cache/hosted"
2727
key: "os:ubuntu-latest;pub-cache-hosted;dart:stable"
@@ -42,7 +42,7 @@ jobs:
4242
runs-on: ubuntu-latest
4343
steps:
4444
- name: Cache Pub hosted dependencies
45-
uses: actions/cache@v2
45+
uses: actions/cache@v2.1.5
4646
with:
4747
path: "~/.pub-cache/hosted"
4848
key: "os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:sub_pkg;commands:dartanalyzer"
@@ -70,7 +70,7 @@ jobs:
7070
runs-on: ubuntu-latest
7171
steps:
7272
- name: Cache Pub hosted dependencies
73-
uses: actions/cache@v2
73+
uses: actions/cache@v2.1.5
7474
with:
7575
path: "~/.pub-cache/hosted"
7676
key: "os:ubuntu-latest;pub-cache-hosted;dart:dev;packages:sub_pkg;commands:dartfmt"

0 commit comments

Comments
 (0)