Skip to content

Commit 7ad043c

Browse files
committed
Run codeql against cpp also
1 parent c902c2d commit 7ad043c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/codeql-daily.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ jobs:
1010
permissions:
1111
actions: read # for github/codeql-action/init to get workflow details
1212
security-events: write # for github/codeql-action/analyze to upload SARIF results
13-
runs-on: ubuntu-latest
13+
runs-on: windows-2019
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
language: [ java, cpp ]
1418

1519
steps:
1620
- uses: actions/checkout@v4
@@ -24,12 +28,12 @@ jobs:
2428
- name: Initialize CodeQL
2529
uses: github/codeql-action/init@v3
2630
with:
27-
languages: java
31+
languages: ${{ matrix.language }}
2832

2933
- uses: gradle/gradle-build-action@v3
3034
with:
3135
# skipping build cache is needed so that all modules will be analyzed
32-
arguments: assemble --no-build-cache
36+
arguments: assemble -Dai.etw.native.build=release --no-build-cache
3337

3438
- name: Perform CodeQL analysis
3539
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)