Skip to content

Commit 1f9e8c5

Browse files
specify source root
1 parent ff72975 commit 1f9e8c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ jobs:
4646
include:
4747
- language: 'c-cpp'
4848
build-mode: 'manual'
49+
sourceDirectory: './addon'
4950
- language: 'javascript-typescript'
5051
build-mode: 'none'
52+
sourceDirectory: "./src"
5153
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
5254
# Use `c-cpp` to analyze code written in C, C++ or both
5355
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
@@ -66,6 +68,7 @@ jobs:
6668
with:
6769
languages: ${{ matrix.language }}
6870
build-mode: ${{ matrix.build-mode }}
71+
source-root: ${{ matrix.sourceDirectory }}
6972
# If you wish to specify custom queries, you can do so here or in a config file.
7073
# By default, queries listed here will override any specified in a config file.
7174
# Prefix the list here with "+" to use these queries and those in the config file.

0 commit comments

Comments
 (0)