File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CodeQL
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+ schedule :
9+ - cron : ' 18 3 * * 1'
10+
11+ permissions :
12+ contents : read
13+ security-events : write
14+ actions : read
15+
16+ jobs :
17+ analyze :
18+ name : Analyze (CodeQL)
19+ runs-on : ubuntu-latest
20+
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v4
24+
25+ - name : Set up JDK 21
26+ uses : actions/setup-java@v4
27+ with :
28+ java-version : ' 21'
29+ distribution : ' temurin'
30+ cache : maven
31+
32+ - name : Initialize CodeQL
33+ uses : github/codeql-action/init@v3
34+ with :
35+ languages : java
36+ - name : Build (customer-service)
37+ run : mvn -q -ntp -DskipTests=true clean package
38+ working-directory : customer-service
39+
40+ - name : Build (customer-service-client)
41+ run : mvn -q -ntp -DskipTests=true clean package
42+ working-directory : customer-service-client
43+
44+ - name : Perform CodeQL Analysis
45+ uses : github/codeql-action/analyze@v3
46+ with :
47+ category : " /language:java"
You canāt perform that action at this time.
0 commit comments