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': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
47
56
# Use `c-cpp` to analyze code written in C, C++ or both
48
57
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
@@ -52,39 +61,39 @@ jobs:
52
61
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
53
62
# 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
54
63
steps:
55
-
- name: Checkout repository
56
-
uses: actions/checkout@v4
64
+
- name: Checkout repository
65
+
uses: actions/checkout@v4
57
66
58
-
# Initializes the CodeQL tools for scanning.
59
-
- name: Initialize CodeQL
60
-
uses: github/codeql-action/init@v3
61
-
with:
62
-
languages: ${{ matrix.language }}
63
-
build-mode: ${{ matrix.build-mode }}
64
-
# If you wish to specify custom queries, you can do so here or in a config file.
65
-
# By default, queries listed here will override any specified in a config file.
66
-
# Prefix the list here with "+" to use these queries and those in the config file.
67
+
# Initializes the CodeQL tools for scanning.
68
+
- name: Initialize CodeQL
69
+
uses: github/codeql-action/init@v3
70
+
with:
71
+
languages: ${{ matrix.language }}
72
+
build-mode: ${{ matrix.build-mode }}
73
+
# If you wish to specify custom queries, you can do so here or in a config file.
74
+
# By default, queries listed here will override any specified in a config file.
75
+
# Prefix the list here with "+" to use these queries and those in the config file.
67
76
68
-
# 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
69
-
# queries: security-extended,security-and-quality
77
+
# 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
78
+
# queries: security-extended,security-and-quality
70
79
71
-
# If the analyze step fails for one of the languages you are analyzing with
72
-
# "We were unable to automatically build your code", modify the matrix above
73
-
# to set the build mode to "manual" for that language. Then modify this step
74
-
# to build your code.
75
-
# ℹ️ Command-line programs to run using the OS shell.
76
-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
77
-
- if: matrix.build-mode == 'manual'
78
-
shell: bash
79
-
run: |
80
-
echo 'If you are using a "manual" build mode for one or more of the' \
81
-
'languages you are analyzing, replace this with the commands to build' \
82
-
'your code, for example:'
83
-
echo ' make bootstrap'
84
-
echo ' make release'
85
-
exit 1
80
+
# If the analyze step fails for one of the languages you are analyzing with
81
+
# "We were unable to automatically build your code", modify the matrix above
82
+
# to set the build mode to "manual" for that language. Then modify this step
83
+
# to build your code.
84
+
# ℹ️ Command-line programs to run using the OS shell.
85
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
86
+
- if: matrix.build-mode == 'manual'
87
+
shell: bash
88
+
run: |
89
+
echo 'If you are using a "manual" build mode for one or more of the' \
90
+
'languages you are analyzing, replace this with the commands to build' \
0 commit comments