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
# Learn more about CodeQL language support at https://git.io/codeql-language-support
38
-
51
+
include:
52
+
- language: actions
53
+
build-mode: none
54
+
- language: c-cpp
55
+
build-mode: none # TODO: get Cpp building working, autobuild doesn't work and manual fails for inexplicable reasons.
56
+
- language: python
57
+
build-mode: none
58
+
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
59
+
# Use `c-cpp` to analyze code written in C, C++ or both
60
+
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
61
+
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
62
+
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
63
+
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
64
+
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
65
+
# 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
39
66
steps:
40
67
- name: Checkout repository
41
68
uses: actions/checkout@v7
42
69
70
+
# Add any setup steps before running the `github/codeql-action/init` action.
71
+
# This includes steps like installing compilers or runtimes (`actions/setup-node`
72
+
# or others). This is typically only required for manual builds.
73
+
# - name: Setup runtime (example)
74
+
# uses: actions/setup-example@v1
75
+
43
76
# Initializes the CodeQL tools for scanning.
44
77
- name: Initialize CodeQL
45
78
uses: github/codeql-action/init@v4
46
79
with:
47
80
languages: ${{ matrix.language }}
81
+
build-mode: ${{ matrix.build-mode }}
48
82
# If you wish to specify custom queries, you can do so here or in a config file.
49
83
# By default, queries listed here will override any specified in a config file.
50
84
# Prefix the list here with "+" to use these queries and those in the config file.
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54
-
# If this step fails, then you should remove it and run the build manually (see below)
55
-
# - name: Autobuild
56
-
# uses: github/codeql-action/autobuild@v2
86
+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
87
+
# queries: security-extended,security-and-quality
57
88
89
+
# If the analyze step fails for one of the languages you are analyzing with
90
+
# "We were unable to automatically build your code", modify the matrix above
91
+
# to set the build mode to "manual" for that language. Then modify this step
92
+
# to build your code.
58
93
# ℹ️ Command-line programs to run using the OS shell.
59
-
# 📚 https://git.io/JvXDl
60
-
61
-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62
-
# and modify them (or add more) to build your code if your project
63
-
# uses a compiled language
94
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
0 commit comments