File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL SAST Analysis"
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+ schedule :
11+ - cron : ' 30 1 * * 0'
12+ workflow_dispatch :
13+
14+ jobs :
15+ analyze :
16+ name : Analyze
17+ runs-on : ubuntu-latest
18+ timeout-minutes : 360
19+ permissions :
20+ actions : read
21+ contents : read
22+ security-events : write
23+
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ language : ['go']
28+
29+ steps :
30+ - name : Checkout repository
31+ uses : actions/checkout@v5
32+
33+ - name : Initialize CodeQL
34+ uses : github/codeql-action/init@v3
35+ with :
36+ languages : ${{ matrix.language }}
37+ queries : security-extended,security-and-quality
38+
39+ - name : Set up Go
40+ uses : actions/setup-go@v6
41+ with :
42+ go-version : ' 1.24.x'
43+
44+ - name : Autobuild
45+ uses : github/codeql-action/autobuild@v3
46+
47+ - name : Perform CodeQL Analysis
48+ uses : github/codeql-action/analyze@v3
49+ with :
50+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments