Use matrix strategies each language
This commit is contained in:
parent
b5a1c57c98
commit
f21f51915e
Notes:
git
2023-02-27 08:58:19 +00:00
9
.github/workflows/codeql-analysis.yml
vendored
9
.github/workflows/codeql-analysis.yml
vendored
@ -41,6 +41,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
enable_install_doc: no
|
enable_install_doc: no
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
language: [ 'cpp', 'ruby' ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install libraries
|
- name: Install libraries
|
||||||
run: |
|
run: |
|
||||||
@ -62,7 +67,7 @@ jobs:
|
|||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@32dc499307d133bb5085bae78498c0ac2cf762d5 # v2.2.5
|
uses: github/codeql-action/init@32dc499307d133bb5085bae78498c0ac2cf762d5 # v2.2.5
|
||||||
with:
|
with:
|
||||||
languages: cpp, ruby
|
languages: ${{ matrix.language }}
|
||||||
|
|
||||||
- name: Set ENV
|
- name: Set ENV
|
||||||
run: echo "GNUMAKEFLAGS=-j$((1 + $(nproc --all)))" >> $GITHUB_ENV
|
run: echo "GNUMAKEFLAGS=-j$((1 + $(nproc --all)))" >> $GITHUB_ENV
|
||||||
@ -72,3 +77,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@32dc499307d133bb5085bae78498c0ac2cf762d5 # v2.2.5
|
uses: github/codeql-action/analyze@32dc499307d133bb5085bae78498c0ac2cf762d5 # v2.2.5
|
||||||
|
with:
|
||||||
|
category: "/language:${{matrix.language}}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user