Skip to content

Commit 82354a1

Browse files
committed
Define each language separately
1 parent 582d735 commit 82354a1

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/codeql.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ on:
1212

1313
jobs:
1414
analyze:
15+
name: Analyze
16+
1517
strategy:
1618
fail-fast: false
1719
matrix:
1820
include:
19-
- language: [ 'javascript', 'cpp' ]
21+
- language: javascript-typescript
22+
build-mode: none
23+
- language: cpp
2024
build-mode: none
21-
22-
name: Analyze (${{ matrix.language }})
2325

2426
# CodeQL runs on ubuntu-latest and windows-latest
2527
runs-on: ubuntu-latest
@@ -33,11 +35,11 @@ jobs:
3335
uses: actions/checkout@main
3436

3537
# Initializes the CodeQL tools for scanning.
36-
# - name: Initialize CodeQL
37-
# uses: github/codeql-action/init@v4
38-
# with:
39-
# languages: ${{ matrix.language }}
40-
# build-mode: ${{ matrix.build-mode }}
38+
- name: Initialize CodeQL
39+
uses: github/codeql-action/init@v4
40+
with:
41+
languages: ${{ matrix.language }}
42+
build-mode: ${{ matrix.build-mode }}
4143
# # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4244
# # If this step fails, then you should remove it and run the build manually (see below)
4345
# - name: Autobuild

0 commit comments

Comments
 (0)