|
|
@@ -72,6 +72,12 @@ jobs:
|
|
|
- uses: actions/checkout@v3
|
|
|
with:
|
|
|
submodules: true
|
|
|
+
|
|
|
+ - name: Initialize CodeQL
|
|
|
+ # Initializes the CodeQL tools for scanning.
|
|
|
+ uses: github/codeql-action/init@v3
|
|
|
+ with:
|
|
|
+ languages: ${{ matrix.language }}
|
|
|
|
|
|
- name: Install dependencies
|
|
|
if: matrix.os == 'ubuntu-22.04'
|
|
|
@@ -90,12 +96,6 @@ jobs:
|
|
|
# Build your program with the given configuration
|
|
|
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
|
|
|
|
|
- - name: Initialize CodeQL
|
|
|
- # Initializes the CodeQL tools for scanning.
|
|
|
- uses: github/codeql-action/init@v3
|
|
|
- with:
|
|
|
- languages: ${{ matrix.language }}
|
|
|
-
|
|
|
- name: Perform CodeQL Analysis
|
|
|
uses: github/codeql-action/analyze@v3
|
|
|
|