Skip to content

Commit da85fce

Browse files
committed
[ci] Update Github actions to latest major release
1 parent 1ef5ef3 commit da85fce

21 files changed

Lines changed: 83 additions & 83 deletions

.github/workflows/CI-cygwin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ${{ matrix.os }}
3838

3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v6
4141
with:
4242
persist-credentials: false
4343

.github/workflows/CI-mingw.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
timeout-minutes: 19 # max + 3*std of the last 7K runs
3434

3535
steps:
36-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@v6
3737
with:
3838
persist-credentials: false
3939

@@ -49,7 +49,7 @@ jobs:
4949
mingw-w64-x86_64-gcc
5050
5151
- name: ccache
52-
uses: hendrikmuhs/ccache-action@v1.2
52+
uses: hendrikmuhs/ccache-action@v1
5353
with:
5454
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
5555

.github/workflows/CI-unixish-docker.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
image: ${{ matrix.image }}
4444

4545
steps:
46-
- uses: actions/checkout@v4
46+
- uses: actions/checkout@v6
4747
with:
4848
persist-credentials: false
4949

@@ -66,7 +66,7 @@ jobs:
6666
# needs to be called after the package installation since
6767
# - it doesn't call "apt-get update"
6868
- name: ccache
69-
uses: hendrikmuhs/ccache-action@v1.2
69+
uses: hendrikmuhs/ccache-action@v1
7070
with:
7171
key: ${{ github.workflow }}-${{ matrix.image }}
7272

@@ -96,7 +96,7 @@ jobs:
9696
image: ${{ matrix.image }}
9797

9898
steps:
99-
- uses: actions/checkout@v4
99+
- uses: actions/checkout@v6
100100
with:
101101
persist-credentials: false
102102

@@ -114,7 +114,7 @@ jobs:
114114
# needs to be called after the package installation since
115115
# - it doesn't call "apt-get update"
116116
- name: ccache
117-
uses: hendrikmuhs/ccache-action@v1.2
117+
uses: hendrikmuhs/ccache-action@v1
118118
with:
119119
key: ${{ github.workflow }}-${{ matrix.image }}
120120

.github/workflows/CI-unixish.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030
CCACHE_SLOPPINESS: pch_defines,time_macros
3131

3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v6
3434
with:
3535
persist-credentials: false
3636

3737
- name: ccache
38-
uses: hendrikmuhs/ccache-action@v1.2
38+
uses: hendrikmuhs/ccache-action@v1
3939
with:
4040
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
4141

@@ -85,19 +85,19 @@ jobs:
8585
CCACHE_SLOPPINESS: pch_defines,time_macros
8686

8787
steps:
88-
- uses: actions/checkout@v4
88+
- uses: actions/checkout@v6
8989
with:
9090
persist-credentials: false
9191

9292
- name: ccache
93-
uses: hendrikmuhs/ccache-action@v1.2
93+
uses: hendrikmuhs/ccache-action@v1
9494
with:
9595
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
9696

9797
# TODO: move latest compiler to separate step
9898
# TODO: bail out on warnings with latest GCC
9999
- name: Set up GCC
100-
uses: egor-tensin/setup-gcc@v1
100+
uses: egor-tensin/setup-gcc@v2
101101
if: false # matrix.os == 'ubuntu-22.04'
102102
with:
103103
version: 13
@@ -216,12 +216,12 @@ jobs:
216216
CCACHE_SLOPPINESS: pch_defines,time_macros
217217

218218
steps:
219-
- uses: actions/checkout@v4
219+
- uses: actions/checkout@v6
220220
with:
221221
persist-credentials: false
222222

223223
- name: ccache
224-
uses: hendrikmuhs/ccache-action@v1.2
224+
uses: hendrikmuhs/ccache-action@v1
225225
with:
226226
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}-${{ matrix.cxxstd }}
227227

@@ -265,12 +265,12 @@ jobs:
265265
runs-on: ${{ matrix.os }}
266266

267267
steps:
268-
- uses: actions/checkout@v4
268+
- uses: actions/checkout@v6
269269
with:
270270
persist-credentials: false
271271

272272
- name: ccache
273-
uses: hendrikmuhs/ccache-action@v1.2
273+
uses: hendrikmuhs/ccache-action@v1
274274
with:
275275
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
276276

@@ -299,12 +299,12 @@ jobs:
299299
runs-on: ${{ matrix.os }}
300300

301301
steps:
302-
- uses: actions/checkout@v4
302+
- uses: actions/checkout@v6
303303
with:
304304
persist-credentials: false
305305

306306
- name: ccache
307-
uses: hendrikmuhs/ccache-action@v1.2
307+
uses: hendrikmuhs/ccache-action@v1
308308
with:
309309
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
310310

@@ -333,7 +333,7 @@ jobs:
333333
runs-on: ${{ matrix.os }}
334334

335335
steps:
336-
- uses: actions/checkout@v4
336+
- uses: actions/checkout@v6
337337
with:
338338
persist-credentials: false
339339

@@ -361,12 +361,12 @@ jobs:
361361
CCACHE_SLOPPINESS: pch_defines,time_macros
362362

363363
steps:
364-
- uses: actions/checkout@v4
364+
- uses: actions/checkout@v6
365365
with:
366366
persist-credentials: false
367367

368368
- name: ccache
369-
uses: hendrikmuhs/ccache-action@v1.2
369+
uses: hendrikmuhs/ccache-action@v1
370370
with:
371371
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
372372

@@ -417,7 +417,7 @@ jobs:
417417
CMAKE_VERSION_FULL: 3.22.6
418418

419419
steps:
420-
- uses: actions/checkout@v4
420+
- uses: actions/checkout@v6
421421
with:
422422
persist-credentials: false
423423

@@ -461,12 +461,12 @@ jobs:
461461
runs-on: ${{ matrix.os }}
462462

463463
steps:
464-
- uses: actions/checkout@v4
464+
- uses: actions/checkout@v6
465465
with:
466466
persist-credentials: false
467467

468468
- name: ccache
469-
uses: hendrikmuhs/ccache-action@v1.2
469+
uses: hendrikmuhs/ccache-action@v1
470470
with:
471471
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
472472

@@ -712,12 +712,12 @@ jobs:
712712
runs-on: ubuntu-22.04 # run on the latest image only
713713

714714
steps:
715-
- uses: actions/checkout@v4
715+
- uses: actions/checkout@v6
716716
with:
717717
persist-credentials: false
718718

719719
- name: ccache
720-
uses: hendrikmuhs/ccache-action@v1.2
720+
uses: hendrikmuhs/ccache-action@v1
721721
with:
722722
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
723723

.github/workflows/CI-windows.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ${{ matrix.os }}
3232

3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v6
3535
with:
3636
persist-credentials: false
3737

@@ -82,7 +82,7 @@ jobs:
8282
runs-on: ${{ matrix.os }}
8383

8484
steps:
85-
- uses: actions/checkout@v4
85+
- uses: actions/checkout@v6
8686
with:
8787
persist-credentials: false
8888

@@ -108,7 +108,7 @@ jobs:
108108
CMAKE_VERSION_FULL: 3.22.6
109109

110110
steps:
111-
- uses: actions/checkout@v4
111+
- uses: actions/checkout@v6
112112
with:
113113
persist-credentials: false
114114

@@ -154,13 +154,13 @@ jobs:
154154
PCRE_VERSION: 8.45
155155

156156
steps:
157-
- uses: actions/checkout@v4
157+
- uses: actions/checkout@v6
158158
with:
159159
persist-credentials: false
160160

161161
- name: Set up Python
162162
if: matrix.config == 'release'
163-
uses: actions/setup-python@v5
163+
uses: actions/setup-python@v6
164164
with:
165165
python-version: '3.14'
166166
check-latest: true
@@ -172,7 +172,7 @@ jobs:
172172

173173
- name: Cache PCRE
174174
id: cache-pcre
175-
uses: actions/cache@v4
175+
uses: actions/cache@v5
176176
with:
177177
path: |
178178
externals\pcre.h

.github/workflows/buildman.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
convert_via_pandoc:
2020
runs-on: ubuntu-24.04
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
with:
2424
persist-credentials: false
2525

@@ -38,15 +38,15 @@ jobs:
3838
with:
3939
args: --output=output/manual-premium.pdf man/manual-premium.md
4040

41-
- uses: actions/upload-artifact@v4
41+
- uses: actions/upload-artifact@v7
4242
with:
4343
name: output
4444
path: output
4545

4646
manpage:
4747
runs-on: ubuntu-22.04
4848
steps:
49-
- uses: actions/checkout@v4
49+
- uses: actions/checkout@v6
5050
with:
5151
persist-credentials: false
5252

@@ -59,7 +59,7 @@ jobs:
5959
run: |
6060
make man
6161
62-
- uses: actions/upload-artifact@v4
62+
- uses: actions/upload-artifact@v7
6363
with:
6464
name: cppcheck.1
6565
path: cppcheck.1

.github/workflows/cifuzz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
dry-run: false
2828
language: c++
2929
- name: Upload Crash
30-
uses: actions/upload-artifact@v4
30+
uses: actions/upload-artifact@v7
3131
if: failure() && steps.build.outcome == 'success'
3232
with:
3333
name: artifacts

.github/workflows/clang-tidy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
QT_VERSION: 6.10.0
2828

2929
steps:
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v6
3131
with:
3232
persist-credentials: false
3333

@@ -86,7 +86,7 @@ jobs:
8686
run: |
8787
cmake --build cmake.output --target run-clang-tidy-csa 2> /dev/null
8888
89-
- uses: actions/upload-artifact@v4
89+
- uses: actions/upload-artifact@v7
9090
if: success() || failure()
9191
with:
9292
name: Compilation Database

.github/workflows/codeql-analysis.yml

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

3434
steps:
3535
- name: Checkout repository
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@v6
3737
with:
3838
persist-credentials: false
3939

.github/workflows/corpus.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
if: ${{ github.repository_owner == 'cppcheck-opensource' }}
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
with:
2121
persist-credentials: false
2222

2323
- name: ccache
24-
uses: hendrikmuhs/ccache-action@v1.2
24+
uses: hendrikmuhs/ccache-action@v1
2525
with:
2626
key: ${{ github.workflow }}-${{ runner.os }}
2727

@@ -51,7 +51,7 @@ jobs:
5151
# print largest size
5252
ls -l ./store | cut -d' ' -f5 | sort -u -n -r | head -n1
5353
54-
- uses: actions/upload-artifact@v4
54+
- uses: actions/upload-artifact@v7
5555
if: success()
5656
with:
5757
name: corpus

0 commit comments

Comments
 (0)