Skip to content

Commit 7763020

Browse files
authored
chore: configure CodeQL for Rust (#928)
1 parent cad2352 commit 7763020

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/code_ql.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,33 @@ name: code_ql
1111
- cron: '10 7 * * 1'
1212

1313
jobs:
14-
analyze_actions:
15-
name: Analyze Actions
14+
analyze:
15+
name: Analyze
1616
runs-on: 'ubuntu-latest'
1717
permissions:
1818
actions: read
1919
contents: read
2020
security-events: write
2121

22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
language:
26+
- actions
27+
- rust
28+
2229
steps:
2330
- name: Checkout repository
2431
uses: actions/checkout@v5
2532

2633
- name: Initialize CodeQL
2734
uses: github/codeql-action/init@v3
2835
with:
29-
languages: 'actions'
36+
languages: ${{ matrix.language }}
37+
build-mode: none
3038

3139
- name: Perform CodeQL Analysis
3240
uses: github/codeql-action/analyze@v3
3341
with:
34-
category: "/language:actions"
42+
category: "/language:${{matrix.language}}"
3543
...

0 commit comments

Comments
 (0)