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