Skip to content

Commit c5750bc

Browse files
authored
Update cache github action to use Node 20 (#17469)
1 parent a58b4f1 commit c5750bc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/build-deps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ jobs:
229229
230230
- name: Cache builder root
231231
id: cache-builder-root
232-
uses: actions/cache@v3.3.3
232+
uses: actions/cache@v4
233233
with:
234234
path: |
235235
~/builder_root

.github/workflows/cache-shared-deps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
python-version: "${{ env.PYTHON_VERSION }}"
2929

3030
- name: Check cache
31-
uses: actions/cache/restore@v3
31+
uses: actions/cache/restore@v4
3232
id: cache
3333
with:
3434
path: ${{ runner.os == 'Windows' && '~\AppData\Local\pip\Cache' || runner.os == 'macOS' && '~/Library/Caches/pip' || '~/.cache/pip' }}
@@ -68,7 +68,7 @@ jobs:
6868
run: pip install ./datadog_checks_base[deps] ./datadog_checks_dev
6969

7070
- name: Cache dependencies
71-
uses: actions/cache/save@v3
71+
uses: actions/cache/save@v4
7272
if: steps.cache.outputs.cache-hit != 'true'
7373
with:
7474
path: ${{ runner.os == 'Windows' && '~\AppData\Local\pip\Cache' || runner.os == 'macOS' && '~/Library/Caches/pip' || '~/.cache/pip' }}

.github/workflows/test-target.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137

138138
- name: Restore cache
139139
if: inputs.repo == 'core'
140-
uses: actions/cache/restore@v3
140+
uses: actions/cache/restore@v4
141141
with:
142142
path: ${{ runner.os == 'Windows' && '~\AppData\Local\pip\Cache' || runner.os == 'macOS' && '~/Library/Caches/pip' || '~/.cache/pip' }}
143143
key: >-

0 commit comments

Comments
 (0)