Improve CodeQL workflow (#1027)

This commit is contained in:
Eugene Kliuchnikov 2023-07-03 15:21:44 +02:00 committed by GitHub
parent e07b6148fd
commit 6f7f5a163d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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