Skip to content

Commit 621ac41

Browse files
authored
README.md: bump to latest released checkout version v6 (#1446)
1 parent 2951748 commit 621ac41

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ See [action.yml](action.yml)
115115
116116
```yaml
117117
steps:
118-
- uses: actions/checkout@v5
118+
- uses: actions/checkout@v6
119119
- uses: actions/setup-node@v6
120120
with:
121121
node-version: 24
@@ -164,7 +164,7 @@ See the examples of using cache for `yarn`/`pnpm` and `cache-dependency-path` in
164164

165165
```yaml
166166
steps:
167-
- uses: actions/checkout@v5
167+
- uses: actions/checkout@v6
168168
- uses: actions/setup-node@v6
169169
with:
170170
node-version: 24
@@ -177,7 +177,7 @@ steps:
177177

178178
```yaml
179179
steps:
180-
- uses: actions/checkout@v5
180+
- uses: actions/checkout@v6
181181
- uses: actions/setup-node@v6
182182
with:
183183
node-version: 24
@@ -193,7 +193,7 @@ This behavior is controlled by the `package-manager-cache` input, which defaults
193193

194194
```yaml
195195
steps:
196-
- uses: actions/checkout@v5
196+
- uses: actions/checkout@v6
197197
- uses: actions/setup-node@v6
198198
with:
199199
package-manager-cache: false
@@ -212,7 +212,7 @@ jobs:
212212
node: [ 20, 22, 24 ]
213213
name: Node ${{ matrix.node }} sample
214214
steps:
215-
- uses: actions/checkout@v5
215+
- uses: actions/checkout@v6
216216
- name: Setup node
217217
uses: actions/setup-node@v6
218218
with:

docs/adrs/0001-support-caching-deps-for-monorepos.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Currently, `actions/setup-node` supports caching dependencies for Npm and Yarn p
88
For the first iteration, we have decided to not support cases where `package-lock.json` / `yarn.lock` are located outside of repository root.
99
Current implementation searches the following file patterns in the repository root: `package-lock.json`, `yarn.lock` (in order of resolving priorities)
1010

11-
Obviously, it made build-in caching unusable for mono-repos and repos with complex structure.
11+
Obviously, it made built-in caching unusable for mono-repos and repos with complex structure.
1212
We would like to revisit this decision and add customization for dependencies lock file location.
1313

1414
## Proposal
@@ -24,7 +24,7 @@ The second option looks more generic because it allows to:
2424
## Decision
2525

2626
Add `cache-dependency-path` input that will accept path (relative to repository root) to dependencies lock file.
27-
If provided path contains wildcards, the action will search all maching files and calculate common hash like `${{ hashFiles('**/package-lock.json') }}` YAML construction does.
27+
If provided path contains wildcards, the action will search all matching files and calculate common hash like `${{ hashFiles('**/package-lock.json') }}` YAML construction does.
2828
The hash of provided matched files will be used as a part of cache key.
2929

3030
Yaml examples:

0 commit comments

Comments
 (0)