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
# Use only 'java' to analyze code written in Java, Kotlin or both
40
+
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
41
+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
17
42
18
43
steps:
19
-
- name: Checkout repository
20
-
uses: actions/checkout@v3
21
-
22
-
# Initializes the CodeQL tools for scanning.
23
-
- name: Initialize CodeQL
24
-
uses: github/codeql-action/init@v2
25
-
# Override language selection by uncommenting this and choosing your languages
26
-
with:
27
-
languages: java
28
-
29
-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
30
-
# If this step fails, then you should remove it and run the build manually (see below)
31
-
- name: Autobuild
32
-
uses: github/codeql-action/autobuild@v2
33
-
34
-
# ℹ️ Command-line programs to run using the OS shell.
35
-
# 📚 https://git.io/JvXDl
36
-
37
-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
38
-
# and modify them (or add more) to build your code if your project
39
-
# uses a compiled language
40
-
41
-
#- run: |
42
-
# make bootstrap
43
-
# make release
44
-
45
-
- name: Perform CodeQL Analysis
46
-
uses: github/codeql-action/analyze@v2
44
+
- name: Checkout repository
45
+
uses: actions/checkout@v3
46
+
47
+
- name: Set up JDK
48
+
uses: actions/setup-java@v3
49
+
with:
50
+
java-version: 20
51
+
distribution: 'temurin'
52
+
cache: gradle
53
+
54
+
# Initializes the CodeQL tools for scanning.
55
+
- name: Initialize CodeQL
56
+
uses: github/codeql-action/init@v2
57
+
with:
58
+
languages: ${{ matrix.language }}
59
+
# If you wish to specify custom queries, you can do so here or in a config file.
60
+
# By default, queries listed here will override any specified in a config file.
61
+
# Prefix the list here with "+" to use these queries and those in the config file.
62
+
63
+
# 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
64
+
# queries: security-extended,security-and-quality
65
+
66
+
67
+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
68
+
# If this step fails, then you should remove it and run the build manually (see below)
69
+
# - name: Autobuild
70
+
# uses: github/codeql-action/autobuild@v2
71
+
72
+
# ℹ️ Command-line programs to run using the OS shell.
73
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
74
+
75
+
# If the Autobuild fails above, remove it and uncomment the following three lines.
76
+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
0 commit comments