Skip to content

Commit e617c22

Browse files
authored
Codeql scanning languages separately (#206)
1 parent 4237bb2 commit e617c22

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ jobs:
3434
matrix:
3535
language: ["csharp", "actions"]
3636
steps:
37-
- name: Checkout repository
38-
uses: actions/checkout@v5
37+
- uses: actions/checkout@v5
3938
- name: Initialize CodeQL
4039
uses: github/codeql-action/init@v3
40+
with:
41+
languages: ${{ matrix.language }}
4142
- name: Autobuild
43+
if: matrix.language == 'csharp'
4244
uses: github/codeql-action/autobuild@v3
4345
- name: Perform CodeQL Analysis
4446
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)