From 1f4fb4d98a016c23751c8b9b67ad840e5e79e4df Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Tue, 9 May 2023 23:35:52 +0900 Subject: [PATCH] CI: Update codeql build. (#595) --- .github/workflows/codeql.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 90a8e5b..ddc6d6e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -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 - if: ${{ matrix.language == 'python' || matrix.language == 'cpp' }} + # - name: Autobuild + # uses: github/codeql-action/autobuild@v2 + + - name: Build + run: | + python setup.py build_ext -if - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 - with: - category: "/language:${{ matrix.language }}"