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
Copy file name to clipboardExpand all lines: .github/workflows/codeql.yml
+47-29Lines changed: 47 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,7 @@ name: "CodeQL"
14
14
on:
15
15
push:
16
16
branches: [ "master" ]
17
-
pull_request:
18
-
# The branches below must be a subset of the branches above
17
+
pull_request: # The branches below must be a subset of the branches above
19
18
branches: [ "master" ]
20
19
schedule:
21
20
- cron: '24 17 * * 0'
@@ -39,38 +38,57 @@ jobs:
39
38
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
40
39
41
40
steps:
42
-
- name: Checkout repository
43
-
uses: actions/checkout@v3
41
+
- name: Checkout repository
42
+
uses: actions/checkout@v3
44
43
45
-
# Initializes the CodeQL tools for scanning.
46
-
- name: Initialize CodeQL
47
-
uses: github/codeql-action/init@v2
48
-
with:
49
-
languages: ${{ matrix.language }}
50
-
# If you wish to specify custom queries, you can do so here or in a config file.
51
-
# By default, queries listed here will override any specified in a config file.
52
-
# Prefix the list here with "+" to use these queries and those in the config file.
44
+
# Initializes the CodeQL tools for scanning.
45
+
- name: Initialize CodeQL
46
+
uses: github/codeql-action/init@v2
47
+
with:
48
+
languages: ${{ matrix.language }}
49
+
# If you wish to specify custom queries, you can do so here or in a config file.
50
+
# By default, queries listed here will override any specified in a config file.
51
+
# Prefix the list here with "+" to use these queries and those in the config file.
53
52
54
-
# 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
55
-
# queries: security-extended,security-and-quality
53
+
# 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
54
+
# queries: security-extended,security-and-quality
56
55
57
56
58
-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
59
-
# If this step fails, then you should remove it and run the build manually (see below)
60
-
- name: Autobuild
61
-
uses: github/codeql-action/autobuild@v2
57
+
- name: Set up Java 19
58
+
uses: actions/setup-java@v3
59
+
with:
60
+
java-version: 19
61
+
distribution: 'temurin'
62
62
63
-
# ℹ️ Command-line programs to run using the OS shell.
64
-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
63
+
- name: Setup Android SDK
64
+
uses: android-actions/setup-android@v2
65
65
66
-
# If the Autobuild fails above, remove it and uncomment the following three lines.
67
-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
0 commit comments