File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " CodeQL analysis"
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - " main"
7
+ - ' [0-9].*'
8
+ pull_request :
9
+ branches :
10
+ - " main"
11
+ - ' [0-9].*'
12
+ schedule :
13
+ - cron : ' 42 6 * * 3'
14
+
15
+ jobs :
16
+ analyze :
17
+ name : Analyze (${{ matrix.language }})
18
+ runs-on : ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
19
+ timeout-minutes : ${{ (matrix.language == 'swift' && 120) || 360 }}
20
+ permissions :
21
+ security-events : write
22
+ actions : read
23
+ contents : read
24
+
25
+ strategy :
26
+ fail-fast : false
27
+ matrix :
28
+ include :
29
+ - language : java-kotlin
30
+ build-mode : autobuild
31
+ steps :
32
+ - name : Checkout repository
33
+ uses : actions/checkout@v4
34
+
35
+ # Initializes the CodeQL tools for scanning.
36
+ - name : Initialize CodeQL
37
+ uses : github/codeql-action/init@v3
38
+ with :
39
+ languages : ${{ matrix.language }}
40
+ build-mode : ${{ matrix.build-mode }}
41
+
42
+ - name : Perform CodeQL Analysis
43
+ uses : github/codeql-action/analyze@v3
44
+ with :
45
+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments