Skip to content

Commit dde4256

Browse files
committed
bump CI to ubuntu-22.04 and cache@v4
1 parent 587b543 commit dde4256

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/internal-testsuite.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ on:
1313
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1414
jobs:
1515
# This workflow contains a single job called "build"
16-
build-on-ubuntu-2004:
16+
build-on-ubuntu-2204:
1717
# The type of runner that the job will run on
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-22.04
1919

2020
# Steps represent a sequence of tasks that will be executed as part of the job
2121
steps:
@@ -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') }}

0 commit comments

Comments
 (0)