mirror of
https://github.com/google/brotli.git
synced 2024-11-24 20:40:13 +00:00
Improve CodeQL workflow (#1027)
This commit is contained in:
parent
e07b6148fd
commit
6f7f5a163d
10
.github/workflows/codeql.yml
vendored
10
.github/workflows/codeql.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user