Skip to content

Commit 905239d

Browse files
author
Chris Gårdenberg
committed
ci: Trying to get CodeQL to work as it should for build-mode none.
1 parent 89831ae commit 905239d

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@ jobs:
1717
name: Analyze
1818
runs-on: windows-latest
1919

20-
strategy:
21-
fail-fast: false
22-
matrix:
23-
# Override automatic language detection by changing the below list
24-
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
25-
language: ['csharp']
26-
build-mode: ['none']
27-
# Learn more...
28-
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
29-
3020
steps:
3121
- name: Checkout repository
3222
uses: actions/checkout@v4
@@ -40,7 +30,11 @@ jobs:
4030
- name: Initialize CodeQL
4131
uses: github/codeql-action/init@v3
4232
with:
43-
languages: ${{ matrix.language }}
33+
languages: csharp
34+
build-mode: none
35+
36+
- name: Autobuild
37+
uses: github/codeql-action/autobuild@v3
4438

4539
- name: Perform CodeQL Analysis
4640
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)