File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning
2
+ name : CodeQL
3
+
4
+ on :
5
+ push :
6
+ branches : [ master, devel ]
7
+ pull_request :
8
+ branches : [ master ]
9
+ paths-ignore :
10
+ - ' **/*.md'
11
+ - ' **/*.txt'
12
+ - ' **/*.json'
13
+ workflow_dispatch :
14
+
15
+ jobs :
16
+ analyze :
17
+ name : Analyze
18
+ runs-on : ubuntu-latest
19
+
20
+ strategy :
21
+ fail-fast : false
22
+ matrix :
23
+ language : ['go']
24
+
25
+ steps :
26
+ - name : Checkout repository
27
+ uses : actions/checkout@v4
28
+ with :
29
+ fetch-depth : 0
30
+
31
+ # Initializes the CodeQL tools for scanning.
32
+ - name : Initialize CodeQL
33
+ uses : github/codeql-action/init@v3
34
+ with :
35
+ languages : ${{ matrix.language }}
36
+
37
+ - name : Autobuild
38
+ uses : github/codeql-action/autobuild@v3
39
+
40
+ - name : Perform CodeQL Analysis
41
+ uses : github/codeql-action/analyze@v3
You can’t perform that action at this time.
0 commit comments