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 : [ "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+ # https://github.com/github/codeql-action/issues/2074
39+ - name : Set up Java
40+ if : matrix.language == 'java-kotlin'
41+ uses : actions/setup-java@v5
42+ with :
43+ distribution : ' zulu'
44+ java-version : ' 21'
45+ cache : ' maven'
46+ - name : Perform CodeQL Analysis
47+ uses : github/codeql-action/analyze@v3
48+ with :
49+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments