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
# Swift analysis removed: Unity SDKs don't include Xcode projects in the repo
53
+
# (Unity generates them during build). The minimal Swift code (NotificationService.swift)
54
+
# is low-risk, and the main iOS bridge code is already covered by c-cpp analysis.
52
55
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
53
56
# Use `c-cpp` to analyze code written in C, C++ or both
54
57
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
@@ -58,46 +61,47 @@ jobs:
58
61
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
59
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
60
63
steps:
61
-
- name: Checkout repository
62
-
uses: actions/checkout@v4
64
+
- name: Checkout repository
65
+
uses: actions/checkout@v6
63
66
64
-
# Add any setup steps before running the `github/codeql-action/init` action.
65
-
# This includes steps like installing compilers or runtimes (`actions/setup-node`
66
-
# or others). This is typically only required for manual builds.
67
-
# - name: Setup runtime (example)
68
-
# uses: actions/setup-example@v1
67
+
# Add any setup steps before running the `github/codeql-action/init` action.
68
+
# This includes steps like installing compilers or runtimes (`actions/setup-node`
69
+
# or others). This is typically only required for manual builds.
70
+
# - name: Setup runtime (example)
71
+
# uses: actions/setup-example@v1
69
72
70
-
# Initializes the CodeQL tools for scanning.
71
-
- name: Initialize CodeQL
72
-
uses: github/codeql-action/init@v4
73
-
with:
74
-
languages: ${{ matrix.language }}
75
-
build-mode: ${{ matrix.build-mode }}
76
-
# If you wish to specify custom queries, you can do so here or in a config file.
77
-
# By default, queries listed here will override any specified in a config file.
78
-
# Prefix the list here with "+" to use these queries and those in the config file.
73
+
# Initializes the CodeQL tools for scanning.
74
+
- name: Initialize CodeQL
75
+
uses: github/codeql-action/init@v4
76
+
with:
77
+
languages: ${{ matrix.language }}
78
+
build-mode: ${{ matrix.build-mode }}
79
+
# If you wish to specify custom queries, you can do so here or in a config file.
80
+
# By default, queries listed here will override any specified in a config file.
81
+
# Prefix the list here with "+" to use these queries and those in the config file.
79
82
80
-
# 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
81
-
# queries: security-extended,security-and-quality
83
+
# 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
84
+
# Consider enabling security queries for better coverage:
85
+
# queries: security-extended,security-and-quality
82
86
83
-
# If the analyze step fails for one of the languages you are analyzing with
84
-
# "We were unable to automatically build your code", modify the matrix above
85
-
# to set the build mode to "manual" for that language. Then modify this step
86
-
# to build your code.
87
-
# ℹ️ Command-line programs to run using the OS shell.
88
-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
89
-
- name: Run manual build steps
90
-
if: matrix.build-mode == 'manual'
91
-
shell: bash
92
-
run: |
93
-
echo 'If you are using a "manual" build mode for one or more of the' \
94
-
'languages you are analyzing, replace this with the commands to build' \
95
-
'your code, for example:'
96
-
echo ' make bootstrap'
97
-
echo ' make release'
98
-
exit 1
87
+
# If the analyze step fails for one of the languages you are analyzing with
88
+
# "We were unable to automatically build your code", modify the matrix above
89
+
# to set the build mode to "manual" for that language. Then modify this step
90
+
# to build your code.
91
+
# ℹ️ Command-line programs to run using the OS shell.
92
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
93
+
- name: Run manual build steps
94
+
if: matrix.build-mode == 'manual'
95
+
shell: bash
96
+
run: |
97
+
echo 'If you are using a "manual" build mode for one or more of the' \
98
+
'languages you are analyzing, replace this with the commands to build' \
0 commit comments