diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-02-27 17:34:10 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-02-27 17:57:58 +0900 |
commit | f21f51915ece8b7f2d6d8316917e2188469ed53e (patch) | |
tree | ec7d868f90211fa2b4aa186c7a295d2543fa8453 | |
parent | b5a1c57c98bd10c59f5993700d792557aa8e0475 (diff) |
Use matrix strategies each language
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7388
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f2f8f8356b..7f89179bb4 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -41,6 +41,11 @@ jobs: env: enable_install_doc: no + strategy: + fail-fast: false + matrix: + language: [ 'cpp', 'ruby' ] + steps: - name: Install libraries run: | @@ -62,7 +67,7 @@ jobs: - name: Initialize CodeQL uses: github/codeql-action/init@32dc499307d133bb5085bae78498c0ac2cf762d5 # v2.2.5 with: - languages: cpp, ruby + languages: ${{ matrix.language }} - name: Set ENV run: echo "GNUMAKEFLAGS=-j$((1 + $(nproc --all)))" >> $GITHUB_ENV @@ -72,3 +77,5 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@32dc499307d133bb5085bae78498c0ac2cf762d5 # v2.2.5 + with: + category: "/language:${{matrix.language}}" |