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 Advanced"
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+ schedule :
9+ - cron : ' 27 5 * * 2'
10+
11+ jobs :
12+ analyze :
13+ name : Analyze (${{ matrix.language }})
14+
15+ runs-on : ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
16+ permissions :
17+ security-events : write
18+ packages : read
19+ actions : read
20+ contents : read
21+
22+ strategy :
23+ fail-fast : false
24+ matrix :
25+ include :
26+ - language : actions
27+ build-mode : none
28+ - language : java-kotlin
29+ build-mode : none
30+ steps :
31+ - name : Checkout repository
32+ uses : actions/checkout@v4
33+
34+ - name : Setup Java
35+ uses : actions/setup-java@v3
36+ with :
37+ distribution : ' temurin'
38+ java-version : ' 11'
39+ cache : ' maven'
40+
41+ - name : Initialize CodeQL
42+ uses : github/codeql-action/init@v4
43+ with :
44+ languages : ${{ matrix.language }}
45+ build-mode : ${{ matrix.build-mode }}
46+
47+ - name : Perform CodeQL Analysis
48+ uses : github/codeql-action/analyze@v4
49+ with :
50+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments