File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : codeql
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' main'
7
+ paths-ignore :
8
+ - ' **/*.md'
9
+ - ' **/*.txt'
10
+ - ' **/*.yaml'
11
+ - ' **/*_test.go'
12
+ pull_request :
13
+ paths-ignore :
14
+ - ' **/*.md'
15
+ - ' **/*.txt'
16
+ - ' **/*.yaml'
17
+ - ' **/*_test.go'
18
+
19
+ jobs :
20
+ analyze :
21
+ name : Analyze
22
+ runs-on : ' ubuntu-latest'
23
+ permissions :
24
+ actions : read
25
+ contents : read
26
+ security-events : write
27
+
28
+ strategy :
29
+ fail-fast : false
30
+ matrix :
31
+ language :
32
+ - go
33
+
34
+ steps :
35
+ -
36
+ name : Checkout repository
37
+ uses : actions/checkout@v4
38
+ -
39
+ name : Update Go
40
+ uses : actions/setup-go@v4
41
+ with :
42
+ go-version-file : go.mod
43
+ -
44
+ name : Initialize CodeQL
45
+ uses : github/codeql-action/init@v2
46
+ with :
47
+ languages : ${{ matrix.language }}
48
+ -
49
+ name : Autobuild
50
+ uses : github/codeql-action/autobuild@v2
51
+ -
52
+ name : Perform CodeQL Analysis
53
+ uses : github/codeql-action/analyze@v2
54
+ with :
55
+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments