File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " CodeQL"
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
8+
9+ jobs :
10+ analyze :
11+ name : Analyze
12+ runs-on : ubuntu-latest
13+ permissions :
14+ actions : read
15+ contents : read
16+ security-events : write
17+
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ language : [ 'cpp' ]
22+
23+ steps :
24+ - name : Checkout repository
25+ uses : actions/checkout@v3
26+
27+ # Initializes the CodeQL tools for scanning.
28+ - name : Initialize CodeQL
29+ uses : github/codeql-action/init@v2
30+ with :
31+ languages : ${{ matrix.language }}
32+
33+ # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
34+ - name : Autobuild
35+ uses : github/codeql-action/autobuild@v2
36+
37+ - name : Perform CodeQL Analysis
38+ uses : github/codeql-action/analyze@v2
39+ with :
40+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments