Skip to content

Commit 1d8bddd

Browse files
authored
Merge pull request #8164 from diffblue/dependabot/github_actions/actions/cache-4
Bump actions/cache from 3 to 4
2 parents 9220c3a + 5d80c9b commit 1d8bddd

File tree

7 files changed

+54
-27
lines changed

7 files changed

+54
-27
lines changed

.github/workflows/bsd.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ jobs:
1414
with:
1515
submodules: recursive
1616
- name: Prepare ccache
17-
uses: actions/cache@v3
17+
uses: actions/cache@v4
1818
with:
19+
save-always: true
1920
path: .ccache
2021
key: freebsd-13.2-gmake-${{ github.ref }}-${{ github.sha }}-PR
2122
restore-keys: |
@@ -75,8 +76,9 @@ jobs:
7576
with:
7677
submodules: recursive
7778
- name: Prepare ccache
78-
uses: actions/cache@v3
79+
uses: actions/cache@v4
7980
with:
81+
save-always: true
8082
path: .ccache
8183
key: openbsd-7.4-gmake-${{ github.ref }}-${{ github.sha }}-PR
8284
restore-keys: |
@@ -136,8 +138,9 @@ jobs:
136138
with:
137139
submodules: recursive
138140
- name: Prepare ccache
139-
uses: actions/cache@v3
141+
uses: actions/cache@v4
140142
with:
143+
save-always: true
141144
path: .ccache
142145
key: netbsd-9.3-gmake-${{ github.ref }}-${{ github.sha }}-PR
143146
restore-keys: |

.github/workflows/build-and-test-Linux.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ jobs:
2525
sudo apt-get install --no-install-recommends -y gawk jq
2626
2727
- name: Prepare ccache
28-
uses: actions/cache@v3
28+
uses: actions/cache@v4
2929
with:
30+
save-always: true
3031
path: .ccache
3132
key: ${{ runner.os }}-20.04-make-clang-${{ github.ref }}-${{ github.sha }}-KERNEL
3233
restore-keys: |

.github/workflows/build-and-test-Xen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ jobs:
2424
sudo apt-get install --no-install-recommends -y libgtk2.0-dev libyajl-dev time ccache clang-10 clang++-10
2525
2626
- name: Prepare ccache
27-
uses: actions/cache@v3
27+
uses: actions/cache@v4
2828
with:
29+
save-always: true
2930
path: .ccache
3031
key: ${{ runner.os }}-20.04-make-clang-${{ github.ref }}-${{ github.sha }}-XEN
3132
restore-keys: |

.github/workflows/csmith.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
sudo apt-get install --no-install-recommends -y csmith libcsmith-dev
2424
make -C src minisat2-download
2525
- name: Prepare ccache
26-
uses: actions/cache@v3
26+
uses: actions/cache@v4
2727
with:
28+
save-always: true
2829
path: .ccache
2930
key: ${{ runner.os }}-20.04-make-clang-${{ github.ref }}-${{ github.sha }}-CSMITH
3031
restore-keys: |

.github/workflows/pull-request-check-rust-api.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ jobs:
3333
- name: Log cargo/rust version
3434
run: cargo --version
3535
- name: Prepare ccache
36-
uses: actions/cache@v3
36+
uses: actions/cache@v4
3737
with:
38+
save-always: true
3839
path: .ccache
3940
key: ${{ runner.os }}-22.04-cmake-clang-${{ github.ref }}-${{ github.sha }}-PR
4041
restore-keys: |
@@ -79,8 +80,9 @@ jobs:
7980
- name: Log cargo/rust version
8081
run: cargo --version
8182
- name: Prepare ccache
82-
uses: actions/cache@v3
83+
uses: actions/cache@v4
8384
with:
85+
save-always: true
8486
path: .ccache
8587
key: ${{ runner.os }}-Release-Minisat-${{ github.ref }}-${{ github.sha }}-PR-Rust-API
8688
restore-keys: |

.github/workflows/pull-request-checks.yaml

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ jobs:
3232
mv cvc5 /usr/local/bin
3333
cvc5 --version
3434
- name: Prepare ccache
35-
uses: actions/cache@v3
35+
uses: actions/cache@v4
3636
with:
37+
save-always: true
3738
path: .ccache
3839
key: ${{ runner.os }}-20.04-make-${{ github.ref }}-${{ github.sha }}-PR
3940
restore-keys: |
@@ -117,8 +118,9 @@ jobs:
117118
mv cvc5 /usr/local/bin
118119
cvc5 --version
119120
- name: Prepare ccache
120-
uses: actions/cache@v3
121+
uses: actions/cache@v4
121122
with:
123+
save-always: true
122124
path: .ccache
123125
key: ${{ runner.os }}-20.04-make-clang-${{ github.ref }}-${{ github.sha }}-PR
124126
restore-keys: |
@@ -181,8 +183,9 @@ jobs:
181183
- name: Confirm z3 solver is available and log the version installed
182184
run: z3 --version
183185
- name: Prepare ccache
184-
uses: actions/cache@v3
186+
uses: actions/cache@v4
185187
with:
188+
save-always: true
186189
path: .ccache
187190
key: ${{ runner.os }}-20.04-make-clang-${{ github.ref }}-${{ github.sha }}-PR
188191
restore-keys: |
@@ -225,8 +228,9 @@ jobs:
225228
mv cvc5 /usr/local/bin
226229
cvc5 --version
227230
- name: Prepare ccache
228-
uses: actions/cache@v3
231+
uses: actions/cache@v4
229232
with:
233+
save-always: true
230234
path: .ccache
231235
key: ${{ runner.os }}-20.04-Release-${{ github.ref }}-${{ github.sha }}-PR
232236
restore-keys: |
@@ -296,8 +300,9 @@ jobs:
296300
mv cvc5 /usr/local/bin
297301
cvc5 --version
298302
- name: Prepare ccache
299-
uses: actions/cache@v3
303+
uses: actions/cache@v4
300304
with:
305+
save-always: true
301306
path: .ccache
302307
key: ${{ runner.os }}-22.04-make-clang-${{ github.ref }}-${{ github.sha }}-PR
303308
restore-keys: |
@@ -361,8 +366,9 @@ jobs:
361366
mv cvc5 /usr/local/bin
362367
cvc5 --version
363368
- name: Prepare ccache
364-
uses: actions/cache@v3
369+
uses: actions/cache@v4
365370
with:
371+
save-always: true
366372
path: .ccache
367373
key: ${{ runner.os }}-22.04-Release-${{ github.ref }}-${{ github.sha }}-PR
368374
restore-keys: |
@@ -420,8 +426,9 @@ jobs:
420426
mv cvc5 /usr/local/bin
421427
cvc5 --version
422428
- name: Prepare ccache
423-
uses: actions/cache@v3
429+
uses: actions/cache@v4
424430
with:
431+
save-always: true
425432
path: .ccache
426433
key: ${{ runner.os }}-22.04-Release-gcc-13-${{ github.ref }}-${{ github.sha }}-PR
427434
restore-keys: |
@@ -466,8 +473,9 @@ jobs:
466473
mv cvc5 /usr/local/bin
467474
cvc5 --version
468475
- name: Prepare ccache
469-
uses: actions/cache@v3
476+
uses: actions/cache@v4
470477
with:
478+
save-always: true
471479
path: .ccache
472480
key: ${{ runner.os }}-22.04-Release-32-${{ github.ref }}-${{ github.sha }}-PR
473481
restore-keys: |
@@ -504,8 +512,9 @@ jobs:
504512
sudo apt-get update
505513
sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils ccache z3
506514
- name: Prepare ccache
507-
uses: actions/cache@v3
515+
uses: actions/cache@v4
508516
with:
517+
save-always: true
509518
path: .ccache
510519
key: ${{ runner.os }}-20.04-Release-${{ github.ref }}-${{ github.sha }}-PR
511520
restore-keys: |
@@ -550,8 +559,9 @@ jobs:
550559
sudo apt-get update
551560
sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils ccache z3
552561
- name: Prepare ccache
553-
uses: actions/cache@v3
562+
uses: actions/cache@v4
554563
with:
564+
save-always: true
555565
path: .ccache
556566
key: ${{ runner.os }}-20.04-Release-${{ github.ref }}-${{ github.sha }}-PR
557567
restore-keys: |
@@ -590,8 +600,9 @@ jobs:
590600
mv cvc5 /usr/local/bin
591601
cvc5 --version
592602
- name: Prepare ccache
593-
uses: actions/cache@v3
603+
uses: actions/cache@v4
594604
with:
605+
save-always: true
595606
path: .ccache
596607
key: ${{ runner.os }}-make-${{ github.ref }}-${{ github.sha }}-PR
597608
restore-keys: |
@@ -641,8 +652,9 @@ jobs:
641652
mv cvc5 /usr/local/bin
642653
cvc5 --version
643654
- name: Prepare ccache
644-
uses: actions/cache@v3
655+
uses: actions/cache@v4
645656
with:
657+
save-always: true
646658
path: .ccache
647659
key: ${{ runner.os }}-Release-Glucose-${{ github.ref }}-${{ github.sha }}-PR
648660
restore-keys: |
@@ -698,8 +710,9 @@ jobs:
698710
- name: Confirm cvc5 solver is available and log the version installed
699711
run: cvc5 --version
700712
- name: Prepare ccache
701-
uses: actions/cache@v3
713+
uses: actions/cache@v4
702714
with:
715+
save-always: true
703716
path: .ccache
704717
key: ${{ runner.os }}-msbuild-${{ github.ref }}-${{ github.sha }}-PR
705718
restore-keys: |
@@ -756,8 +769,9 @@ jobs:
756769
- name: Initialise Developer Command Line
757770
uses: ilammy/msvc-dev-cmd@v1
758771
- name: Prepare ccache
759-
uses: actions/cache@v3
772+
uses: actions/cache@v4
760773
with:
774+
save-always: true
761775
path: .ccache
762776
key: ${{ runner.os }}-msbuild-make-${{ github.ref }}-${{ github.sha }}-PR
763777
restore-keys: |
@@ -811,8 +825,9 @@ jobs:
811825
nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0
812826
echo "c:\tools\clcache\clcache-4.1.0" >> $env:GITHUB_PATH
813827
- name: Prepare ccache
814-
uses: actions/cache@v3
828+
uses: actions/cache@v4
815829
with:
830+
save-always: true
816831
path: .ccache
817832
key: ${{ runner.os }}-msbuild-${{ github.ref }}-${{ github.sha }}-PKG
818833
restore-keys: |
@@ -928,8 +943,9 @@ jobs:
928943
mv cvc5 /usr/local/bin
929944
cvc5 --version
930945
- name: Prepare ccache
931-
uses: actions/cache@v3
946+
uses: actions/cache@v4
932947
with:
948+
save-always: true
933949
path: .ccache
934950
key: ${{ runner.os }}-20.04-Coverage-${{ github.ref }}-${{ github.sha }}-PR
935951
restore-keys: |

.github/workflows/release-packages.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ jobs:
2727
mv cvc5 /usr/local/bin
2828
cvc5 --version
2929
- name: Prepare ccache
30-
uses: actions/cache@v3
30+
uses: actions/cache@v4
3131
with:
32+
save-always: true
3233
path: .ccache
3334
key: ${{ runner.os }}-22.04-Release-${{ github.ref }}-${{ github.sha }}-RELEASEPKG
3435
restore-keys:
@@ -97,8 +98,9 @@ jobs:
9798
mv cvc5 /usr/local/bin
9899
cvc5 --version
99100
- name: Prepare ccache
100-
uses: actions/cache@v3
101+
uses: actions/cache@v4
101102
with:
103+
save-always: true
102104
path: .ccache
103105
key: ${{ runner.os }}-20.04-Release-${{ github.ref }}-${{ github.sha }}-RELEASEPKG
104106
restore-keys: |
@@ -199,8 +201,9 @@ jobs:
199201
echo "$(Split-Path -Path $(Get-ChildItem -Path "${env:ProgramFiles(x86)}\Windows Kits\10\App Certification Kit\signtool.exe"))" >> $env:GITHUB_PATH
200202
echo "pfxcert=$([string](Get-Location)+'\CodeSignCertificate.pfx')" >> $env:GITHUB_ENV
201203
- name: Prepare ccache
202-
uses: actions/cache@v3
204+
uses: actions/cache@v4
203205
with:
206+
save-always: true
204207
path: .ccache
205208
key: ${{ runner.os }}-msbuild-${{ github.ref }}-${{ github.sha }}-RELEASEPKG
206209
restore-keys: |

0 commit comments

Comments
 (0)