File tree 1 file changed +45
-0
lines changed
1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " CodeQL"
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
8
+ schedule :
9
+ - cron : ' 28 7 * * 0'
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ analyze :
14
+ name : Analyze (${{ matrix.language }})
15
+ runs-on : ' ubuntu-latest'
16
+ timeout-minutes : 360
17
+ permissions :
18
+ security-events : write
19
+ packages : read
20
+ actions : read
21
+ contents : read
22
+
23
+ strategy :
24
+ fail-fast : false
25
+ matrix :
26
+ include :
27
+ - language : go
28
+ build-mode : autobuild
29
+ steps :
30
+ - name : Checkout repository
31
+ uses : actions/checkout@v4
32
+ - name : Initialize CodeQL
33
+ uses : github/codeql-action/init@v3
34
+ with :
35
+ languages : ${{ matrix.language }}
36
+ build-mode : ${{ matrix.build-mode }}
37
+ - if : matrix.build-mode == 'manual'
38
+ run : |
39
+ make docker-build
40
+
41
+ - name : Perform CodeQL Analysis
42
+ uses : github/codeql-action/analyze@v3
43
+ with :
44
+ category : " /language:${{matrix.language}}"
45
+
You can’t perform that action at this time.
0 commit comments