Skip to content

Commit 0023b93

Browse files
committed
Unmatrix CodeQL build to fix configuration not found error
1 parent b50e1ba commit 0023b93

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,48 +23,36 @@ permissions:
2323

2424
jobs:
2525
analyze:
26-
name: Analyze (${{ matrix.language }})
2726
permissions:
2827
contents: read
2928
actions: read # for github/codeql-action/init to get workflow details
3029
security-events: write # for github/codeql-action/analyze to upload SARIF results
31-
strategy:
32-
fail-fast: false
33-
matrix:
34-
include:
35-
- language: actions
36-
- language: java
3730
runs-on: ubuntu-latest
3831
steps:
3932
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4033

4134
- name: Set up Java 17
42-
if: matrix.language == 'java'
4335
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
4436
with:
4537
distribution: temurin
4638
java-version: 17
4739

4840
- name: Set up gradle
49-
if: matrix.language == 'java'
5041
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4.4.2
5142

5243
- name: Initialize CodeQL
5344
uses: github/codeql-action/init@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9
5445
with:
55-
languages: ${{ matrix.language }}
46+
languages: java, actions
5647
# using "latest" helps to keep up with the latest Kotlin support
5748
# see https://github.com/github/codeql-action/issues/1555#issuecomment-1452228433
5849
tools: latest
5950

6051
- name: Assemble
61-
if: matrix.language == 'java'
6252
# --no-build-cache is required for codeql to analyze all modules
6353
# --no-daemon is required for codeql to observe the compilation
6454
# (see https://docs.github.com/en/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis#specifying-build-commands)
6555
run: ./gradlew assemble --no-build-cache --no-daemon
6656

6757
- name: Perform CodeQL analysis
6858
uses: github/codeql-action/analyze@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9
69-
with:
70-
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)