Skip to content

Commit 9c57945

Browse files
Fix: Update deprecated actions/cache to v4
Updated actions/cache from v2 to v4 to resolve the build failure caused by a deprecated version. Also updated actions/checkout from v2 to v4 as a proactive measure.
1 parent dff6af2 commit 9c57945

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/codeql-analysis.yml

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

2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v4
2929
with:
3030
# We must fetch at least the immediate parents so that if this is
3131
# a pull request then we can checkout the head.

.github/workflows/verify-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ jobs:
264264
coverage: nocoverage
265265
steps:
266266
- name: Checkout repository
267-
uses: actions/checkout@v2
267+
uses: actions/checkout@v4
268268
with:
269269
# We must fetch at least the immediate parents so that if this is
270270
# a pull request then we can checkout the head.
@@ -312,7 +312,7 @@ jobs:
312312

313313
- name: IWYU from cache (for testing)
314314
id: cache-IWYU
315-
uses: actions/cache@v2
315+
uses: actions/cache@v4
316316
with:
317317
path: include-what-you-use
318318
key: ${{ matrix.os }}-${{ matrix.c-compiler }}-include-what-you-use-pre-built
@@ -341,7 +341,7 @@ jobs:
341341

342342
- name: CURL from cache (for testing)
343343
id: cache-CURL
344-
uses: actions/cache@v2
344+
uses: actions/cache@v4
345345
with:
346346
path: curl-7.75.0
347347
key: ${{ matrix.os }}-CURL-pre-built
@@ -386,7 +386,7 @@ jobs:
386386

387387
- name: Fetch libmicrohttpd from cache
388388
id: cache-libmicrohttpd
389-
uses: actions/cache@v2
389+
uses: actions/cache@v4
390390
with:
391391
path: libmicrohttpd-0.9.64
392392
key: ${{ matrix.os }}-${{ matrix.c-compiler }}-libmicrohttpd-pre-built

0 commit comments

Comments
 (0)