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-Scanning"
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ # The branches below must be a subset of the branches above
8+ branches : [ "main" ]
9+ schedule :
10+ - cron : ' 30 0 * * *'
11+
12+ jobs :
13+ analyze :
14+ name : Analyze
15+ runs-on : ubuntu-latest
16+ permissions :
17+ actions : read
18+ contents : read
19+ security-events : write
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ language : [ 'java' ]
25+ java : [ '17' ]
26+
27+ steps :
28+ - name : Checkout repository
29+ uses : actions/checkout@v3
30+
31+ - name : Set up JDK ${{ matrix.java }}
32+ uses : actions/setup-java@v2
33+ with :
34+ java-version : ${{ matrix.java }}
35+ distribution : ' adopt'
36+
37+ - name : Initialize CodeQL
38+ uses : github/codeql-action/init@v2
39+ with :
40+ languages : ${{ matrix.language }}
41+
42+ - name : Autobuild
43+ uses : github/codeql-action/autobuild@v2
44+
45+ - name : Perform CodeQL Analysis
46+ uses : github/codeql-action/analyze@v2
47+ with :
48+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments