Skip to content

Commit

Permalink
CI: Update codeql build. (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
methane authored May 9, 2023
1 parent 869fe10 commit 1f4fb4d
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,22 @@ jobs:
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ python, cpp ]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
# with:
# languages: ${{ matrix.language }}
# queries: +security-and-quality

# - name: Autobuild
# uses: github/codeql-action/autobuild@v2

- name: Autobuild
uses: github/codeql-action/autobuild@v2
if: ${{ matrix.language == 'python' || matrix.language == 'cpp' }}
- name: Build
run: |
python setup.py build_ext -if
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"

0 comments on commit 1f4fb4d

Please sign in to comment.