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
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,14 @@ jobs:
18
18
19
19
analyze:
20
20
name: Analyze
21
-
runs-on: windows-latest
21
+
runs-on: ubuntu-latest
22
22
permissions:
23
23
actions: read
24
24
contents: read
25
25
security-events: write
26
-
26
+
defaults:
27
+
run:
28
+
shell: bash
27
29
28
30
strategy:
29
31
fail-fast: false
@@ -33,6 +35,10 @@ jobs:
33
35
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
34
36
35
37
steps:
38
+
# Checkout must be first
39
+
- name: Checkout repository
40
+
uses: actions/checkout@v4
41
+
36
42
# Initializes the CodeQL tools for scanning.
37
43
- name: Initialize CodeQL
38
44
uses: github/codeql-action/init@v3
@@ -41,19 +47,20 @@ jobs:
41
47
# If you wish to specify custom queries, you can do so here or in a config file.
42
48
# By default, queries listed here will override any specified in a config file.
43
49
# Prefix the list here with "+" to use these queries and those in the config file.
50
+
44
51
45
52
# 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
46
53
# queries: security-extended,security-and-quality
47
54
48
-
- uses: actions/checkout@v3
49
-
50
55
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
51
56
# If this step fails, then you should remove it and run the build manually (see below)
0 commit comments