Skip to content

Commit

Permalink
Improve CodeQL workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eustas committed Jul 3, 2023
1 parent e07b614 commit 7187e3a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7187e3a

Please sign in to comment.