From 6f7f5a163d76d05abe0708cb18bfb24a873af72e Mon Sep 17 00:00:00 2001 From: Eugene Kliuchnikov Date: Mon, 3 Jul 2023 15:21:44 +0200 Subject: Improve CodeQL workflow (#1027) --- .github/workflows/codeql.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ca519e4..bd043c9 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -34,12 +34,15 @@ jobs: uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} + config: | + paths-ignore: + - research - if: matrix.language == 'cpp' name: Build CPP uses: github/codeql-action/autobuild@v2 - - if: matrix.language == 'java' + - if: matrix.language == 'cpp' || matrix.language == 'java' name: Build Java run: | cd ${GITHUB_WORKSPACE}/java @@ -49,9 +52,10 @@ jobs: name: Build JS uses: github/codeql-action/autobuild@v2 - - if: matrix.language == 'python' + - if: matrix.language == 'cpp' || matrix.language == 'python' name: Build Python - uses: github/codeql-action/autobuild@v2 + run: | + python setup.py build_ext - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 -- cgit v1.1