Skip to content

Commit ba9475a

Browse files
chore(deps): update actions/cache action to v5 (#5757)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent d0a2890 commit ba9475a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/actions/setup/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ runs:
8484
8585
- name: Cache golangci-lint analysis
8686
if: ${{ inputs.language == 'go' }}
87-
uses: actions/cache@v4
87+
uses: actions/cache@v5
8888
with:
8989
path: ~/.cache/golangci-lint
9090
key: golangci-lint-${{ inputs.version }}-${{ hashFiles('clients/algoliasearch-client-go/go.sum') }}
@@ -98,14 +98,14 @@ runs:
9898

9999
- name: Restore Yarn js-client
100100
if: ${{ inputs.language == 'javascript' }}
101-
uses: actions/cache@v4
101+
uses: actions/cache@v5
102102
with:
103103
path: ${{ steps.yarn-cache-dir-client.outputs.dir || 'clients/algoliasearch-client-javascript/.yarn/cache' }}
104104
key: yarn-cache-clients-${{ hashFiles('clients/algoliasearch-client-javascript/yarn.lock') }}
105105

106106
- name: Cache js-client node modules
107107
if: ${{ inputs.language == 'javascript' }}
108-
uses: actions/cache@v4
108+
uses: actions/cache@v5
109109
with:
110110
path: clients/algoliasearch-client-javascript/node_modules
111111
key: node-modules-clients-${{ hashFiles('clients/algoliasearch-client-javascript/yarn.lock') }}
@@ -183,7 +183,7 @@ runs:
183183
- name: Cache the build folder
184184
id: cache-swift-build
185185
if: ${{ inputs.language == 'swift' }}
186-
uses: actions/cache@v4
186+
uses: actions/cache@v5
187187
with:
188188
path: |
189189
clients/algoliasearch-client-swift/.build
@@ -206,7 +206,7 @@ runs:
206206
- name: Cache the build folder for swiftformat
207207
id: cache-swiftformat
208208
if: ${{ inputs.language == 'swift' }}
209-
uses: actions/cache@v4
209+
uses: actions/cache@v5
210210
with:
211211
path: swiftformat/.build
212212
key: swiftformat-build-${{ steps.swiftformat-version.outputs.SWIFTFORMAT_VERSION }}-${{ runner.os }}

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,13 +248,13 @@ jobs:
248248
run: echo "dir=$(cd tests/output/javascript && yarn config get cacheFolder)" >> $GITHUB_OUTPUT
249249

250250
- name: Restore Yarn js tests
251-
uses: actions/cache@v4
251+
uses: actions/cache@v5
252252
with:
253253
path: ${{ steps.yarn-cache-dir-tests.outputs.dir || 'tests/output/javascript/.yarn/cache' }}
254254
key: yarn-cache-tests-${{ hashFiles('tests/output/javascript/yarn.lock') }}
255255

256256
- name: Cache js tests node modules
257-
uses: actions/cache@v4
257+
uses: actions/cache@v5
258258
with:
259259
path: tests/output/javascript/node_modules
260260
key: node-modules-tests-${{ hashFiles('tests/output/javascript/yarn.lock') }}

0 commit comments

Comments
 (0)