ci: remove unnecessary matrix from codeql workflow (#22239)

This commit is contained in:
dundargoc 2023-02-12 18:12:17 +01:00 committed by GitHub
parent 477d4bbf5f
commit 2b1c07a1d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,11 +13,6 @@ jobs:
contents: read contents: read
security-events: write security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -28,10 +23,9 @@ jobs:
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v2 uses: github/codeql-action/init@v2
with: with:
languages: ${{ matrix.language }} languages: cpp
- if: matrix.language == 'cpp' - run: make
run: make
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2 uses: github/codeql-action/analyze@v2