29
29
30
30
steps :
31
31
- name : Checkout
32
- uses : actions/checkout@v3
32
+ uses : actions/checkout@v4
33
33
34
34
- name : Install Packages (C++)
35
35
if : ${{ matrix.language == 'cpp' }}
44
44
45
45
- name : Set Up Cache
46
46
if : ${{ matrix.language == 'cpp' }}
47
- uses : actions/cache@v3
47
+ uses : actions/cache@v4
48
48
with :
49
49
path : ~/.cache/ccache
50
50
key : ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }}
@@ -57,14 +57,14 @@ jobs:
57
57
$CMAKE -S . -B build -DWarpX_OPENPMD=ON
58
58
59
59
- name : Initialize CodeQL
60
- uses : github/codeql-action/init@v2
60
+ uses : github/codeql-action/init@v3
61
61
with :
62
62
config-file : ./.github/codeql/warpx-codeql.yml
63
63
languages : ${{ matrix.language }}
64
64
queries : +security-and-quality
65
65
66
66
- name : Build (py)
67
- uses : github/codeql-action/autobuild@v2
67
+ uses : github/codeql-action/autobuild@v3
68
68
if : ${{ matrix.language == 'python' }}
69
69
70
70
- name : Build (C++)
86
86
$CMAKE --build build -j 4
87
87
88
88
- name : Perform CodeQL Analysis
89
- uses : github/codeql-action/analyze@v2
89
+ uses : github/codeql-action/analyze@v3
90
90
with :
91
91
category : " /language:${{ matrix.language }}"
92
92
upload : False
@@ -107,7 +107,7 @@ jobs:
107
107
output : sarif-results/${{ matrix.language }}.sarif
108
108
109
109
- name : Upload SARIF
110
- uses : github/codeql-action/upload-sarif@v2
110
+ uses : github/codeql-action/upload-sarif@v3
111
111
with :
112
112
sarif_file : sarif-results/${{ matrix.language }}.sarif
113
113
@@ -120,7 +120,7 @@ jobs:
120
120
PR_NUMBER : ${{ github.event.number }}
121
121
run : |
122
122
echo $PR_NUMBER > pr_number.txt
123
- - uses : actions/upload-artifact@v3
123
+ - uses : actions/upload-artifact@v4
124
124
with :
125
125
name : pr_number
126
126
path : pr_number.txt
0 commit comments