You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
51
-
# Use `c-cpp` to analyze code written in C, C++ or both
52
-
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
53
-
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
54
-
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
55
-
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
56
-
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
57
-
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
55
+
config-file: ''
56
+
- language: rust
57
+
build-mode: none
58
+
config-file: .github/codeql/desktop-only.yml
59
+
- language: javascript-typescript
60
+
build-mode: none
61
+
config-file: .github/codeql/desktop-only.yml
58
62
steps:
59
63
- name: Checkout repository
60
64
uses: actions/checkout@v4
@@ -67,10 +71,11 @@ jobs:
67
71
68
72
# Initializes the CodeQL tools for scanning.
69
73
- name: Initialize CodeQL
70
-
uses: github/codeql-action/init@v3
74
+
uses: github/codeql-action/init@v4
71
75
with:
72
76
languages: ${{ matrix.language }}
73
77
build-mode: ${{ matrix.build-mode }}
78
+
config-file: ${{ matrix.config-file }}
74
79
# If you wish to specify custom queries, you can do so here or in a config file.
75
80
# By default, queries listed here will override any specified in a config file.
76
81
# Prefix the list here with "+" to use these queries and those in the config file.
0 commit comments