Skip to content

Commit 245bad6

Browse files
committed
Upgrade actions/cache to from ver. 3 to 4
1 parent 2762e3f commit 245bad6

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ jobs:
5454
sudo apt-get -qq install -y clang lld gcc g++ ccache --no-install-recommends
5555
5656
- name: Cache ccache
57-
uses: actions/cache@v3
57+
uses: actions/cache@v4
5858
with:
5959
path: ${{ github.workspace }}/.ccache
60-
key: ${{ runner.os }}-ccache-${{ matrix.compiler }}-${{ matrix.build_type }}-${{ hashFiles('CMakeLists.txt') }}
60+
key: ${{ runner.os }}-ccache-${{ matrix.compiler }}-${{ matrix.build_type }}
6161
restore-keys: |
6262
${{ runner.os }}-ccache-
6363
6464
- name: Cache build directory
65-
uses: actions/cache@v3
65+
uses: actions/cache@v4
6666
with:
6767
path: build/
6868
key: ${{ runner.os }}-build-${{ matrix.compiler }}-${{ matrix.build_type }}-${{ github.sha }}

.github/workflows/clang-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
4747
- name: Cache build artifacts
4848
id: cache-build
49-
uses: actions/cache@v3
49+
uses: actions/cache@v4
5050
with:
5151
path: build/
5252
key: ${{ runner.os }}-build-${{ github.sha }}

.github/workflows/clang-tidy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
4545
- name: Cache build artifacts
4646
id: cache-build
47-
uses: actions/cache@v3
47+
uses: actions/cache@v4
4848
with:
4949
path: build/
5050
key: ${{ runner.os }}-build-${{ github.sha }}

.github/workflows/coverage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ jobs:
3636
sudo apt install -y gcc g++ ccache gcovr lcov
3737
3838
- name: Cache ccache
39-
uses: actions/cache@v3
39+
uses: actions/cache@v4
4040
with:
4141
path: $CACHE_DIR
42-
key: ${{ runner.os }}-ccache-${{ hashFiles('.github/workflows/coverage.yml') }}
42+
key: ${{ runner.os }}-ccache-${{ github.sha }}
4343
restore-keys: |
4444
${{ runner.os }}-ccache-
4545
4646
- name: Cache build directory
47-
uses: actions/cache@v3
47+
uses: actions/cache@v4
4848
with:
4949
path: build/
50-
key: ${{ runner.os }}-build--${{ hashFiles('.github/workflows/coverage.yml') }}-${{ github.sha }}
50+
key: ${{ runner.os }}-build-${{ github.sha }}
5151
restore-keys: |
5252
${{ runner.os }}-build-
5353

0 commit comments

Comments
 (0)