File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,9 @@ jobs:
140
140
security-events : write
141
141
runs-on : ubuntu-latest
142
142
timeout-minutes : 10
143
+ strategy :
144
+ matrix :
145
+ language : [ cpp ]
143
146
144
147
steps :
145
148
- name : Harden Runner
@@ -163,7 +166,7 @@ jobs:
163
166
- name : Initialize CodeQL
164
167
uses : github/codeql-action/init@4dd16135b69a43b6c8efb853346f8437d92d3c93
165
168
with :
166
- languages : cpp
169
+ languages : ${{ matrix.language }}
167
170
168
171
- name : configure
169
172
run : ./configure
@@ -174,4 +177,4 @@ jobs:
174
177
- name : Perform CodeQL Analysis
175
178
uses : github/codeql-action/analyze@4dd16135b69a43b6c8efb853346f8437d92d3c93
176
179
with :
177
- category : " /language:cpp "
180
+ category : " /language:${{ matrix.language }} "
Original file line number Diff line number Diff line change 28
28
security-events : write
29
29
runs-on : ubuntu-latest
30
30
timeout-minutes : 10
31
+ strategy :
32
+ matrix :
33
+ language : [ python ]
31
34
32
35
steps :
33
36
- name : Harden Runner
53
56
- name : Initialize CodeQL
54
57
uses : github/codeql-action/init@4dd16135b69a43b6c8efb853346f8437d92d3c93
55
58
with :
56
- languages : python
59
+ languages : ${{ matrix.language }}
57
60
58
61
- name : Perform CodeQL Analysis
59
62
uses : github/codeql-action/analyze@4dd16135b69a43b6c8efb853346f8437d92d3c93
60
63
with :
61
- category : " /language:python "
64
+ category : " /language:${{ matrix.language }} "
You can’t perform that action at this time.
0 commit comments