Skip to content

Commit 582d735

Browse files
committed
Define matrix first
1 parent e4357c4 commit 582d735

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/codeql.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ on:
1212

1313
jobs:
1414
analyze:
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
include:
19+
- language: [ 'javascript', 'cpp' ]
20+
build-mode: none
21+
1522
name: Analyze (${{ matrix.language }})
1623

1724
# CodeQL runs on ubuntu-latest and windows-latest
@@ -21,14 +28,6 @@ jobs:
2128
# required to fetch internal or private CodeQL packs
2229
packages: read
2330

24-
25-
strategy:
26-
fail-fast: false
27-
matrix:
28-
include:
29-
- language: [ 'javascript', 'cpp' ]
30-
build-mode: none
31-
3231
steps:
3332
- name: Checkout repository
3433
uses: actions/checkout@main

0 commit comments

Comments
 (0)