Skip to content

Commit 7578965

Browse files
authored
GH Actions: bump tagged versions of actions/cache (immunant#1212)
Recent workflow runs have been failing because actions/cache@v2 was recently decommissioned. See https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down for details.
2 parents d28087d + 65c5917 commit 7578965

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/internal-testsuite.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
submodules: true
3434

3535
- name: Cache Rust toolchain
36-
uses: actions/cache@v2
36+
uses: actions/cache@v4
3737
with:
3838
path: |
3939
~/.rustup/toolchains
@@ -42,7 +42,7 @@ jobs:
4242
key: ${{ runner.os }}-rust-toolchain-${{ hashFiles('rust-toolchain') }}
4343

4444
- name: Cache Rust artifacts
45-
uses: actions/cache@v2
45+
uses: actions/cache@v4
4646
with:
4747
path: |
4848
~/.cargo/registry
@@ -52,7 +52,7 @@ jobs:
5252
key: ${{ runner.os }}-${{ hashFiles('**/Cargo.lock', '**/c2rust-ast-exporter/**/CMakeLists.txt', '**/examples/**/CMakeLists.txt') }}
5353

5454
- name: Cache Python - pip
55-
uses: actions/cache@v2
55+
uses: actions/cache@v4
5656
with:
5757
path: ~/.cache/pip
5858
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
@@ -65,7 +65,7 @@ jobs:
6565
# shell: bash
6666

6767
# - name: Cache testsuite compile_commands
68-
# uses: actions/cache@v2
68+
# uses: actions/cache@v4
6969
# with:
7070
# path: |
7171
# ${{ github.workspace }}/testsuite/tests/**/compile_commands.json

0 commit comments

Comments
 (0)