Skip to content

Commit 1f4fb4d

Browse files
authored
CI: Update codeql build. (#595)
1 parent 869fe10 commit 1f4fb4d

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.github/workflows/codeql.yml

+9-13
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,22 @@ jobs:
1717
contents: read
1818
security-events: write
1919

20-
strategy:
21-
fail-fast: false
22-
matrix:
23-
language: [ python, cpp ]
24-
2520
steps:
2621
- name: Checkout
2722
uses: actions/checkout@v3
2823

2924
- name: Initialize CodeQL
3025
uses: github/codeql-action/init@v2
31-
with:
32-
languages: ${{ matrix.language }}
33-
queries: +security-and-quality
26+
# with:
27+
# languages: ${{ matrix.language }}
28+
# queries: +security-and-quality
29+
30+
# - name: Autobuild
31+
# uses: github/codeql-action/autobuild@v2
3432

35-
- name: Autobuild
36-
uses: github/codeql-action/autobuild@v2
37-
if: ${{ matrix.language == 'python' || matrix.language == 'cpp' }}
33+
- name: Build
34+
run: |
35+
python setup.py build_ext -if
3836
3937
- name: Perform CodeQL Analysis
4038
uses: github/codeql-action/analyze@v2
41-
with:
42-
category: "/language:${{ matrix.language }}"

0 commit comments

Comments
 (0)