Skip to content

Commit fa13ec5

Browse files
authored
Update codeql.yml
1 parent 4ad96c9 commit fa13ec5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/codeql.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ jobs:
4444
- language: actions
4545
build-mode: none
4646
- language: c-cpp
47-
build-mode: manual
48-
- language: python
49-
build-mode: none
47+
build-mode: autobuild
5048
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
5149
# Use `c-cpp` to analyze code written in C, C++ or both
5250
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
@@ -93,7 +91,10 @@ jobs:
9391
echo ' make bootstrap'
9492
echo ' make release'
9593
exit 1
96-
94+
- name: Autobuild (for compiled languages)
95+
if: matrix.build-mode == 'autobuild'
96+
uses: github/codeql-action/autobuild@v2
97+
9798
- name: Perform CodeQL Analysis
9899
uses: github/codeql-action/analyze@v3
99100
with:

0 commit comments

Comments
 (0)