File tree 1 file changed +49
-0
lines changed
1 file changed +49
-0
lines changed 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
+ schedule :
9
+ - cron : ' 43 10 * * 2'
10
+
11
+ jobs :
12
+ analyze :
13
+ name : Analyze
14
+ runs-on : ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
15
+ timeout-minutes : ${{ (matrix.language == 'swift' && 120) || 360 }}
16
+ permissions :
17
+ actions : read
18
+ contents : read
19
+ security-events : write
20
+
21
+ strategy :
22
+ fail-fast : false
23
+ matrix :
24
+ language : [ javascript, java, kotlin ]
25
+
26
+ steps :
27
+ - name : Checkout
28
+ uses : actions/checkout@v4
29
+
30
+ - name : Setup Java
31
+ uses : actions/setup-java@v4
32
+ with :
33
+ cache : maven
34
+ java-version : 21
35
+ distribution : ' temurin'
36
+
37
+ - name : Initialize CodeQL
38
+ uses : github/codeql-action/init@v3
39
+ with :
40
+ languages : ${{ matrix.language }}
41
+ queries : +security-and-quality
42
+
43
+ - name : Autobuild
44
+ uses : github/codeql-action/autobuild@v3
45
+
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