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