diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0d153f863..edc9ea41d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,8 +1,8 @@ -name: "Code scanning - action" +name: "CodeQL" on: push: - branches: [master, ] + branches: [master] pull_request: # The branches below must be a subset of the branches above branches: [master] @@ -19,7 +19,18 @@ jobs: contents: read # to fetch code (actions/checkout) security-events: write # to upload SARIF results (github/codeql-action/analyze) - runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - language: python + os: ubuntu-latest + - language: c + os: ubuntu-latest + - language: go + os: ubuntu-latest + + runs-on: ${{ matrix.os }} steps: @@ -39,7 +50,7 @@ jobs: - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: - languages: python, c, go + languages: ${{ matrix.language }} - name: Build kitty run: python3 .github/workflows/ci.py build