File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Continuous inspection build
2
+
3
+ on :
4
+ schedule :
5
+ - cron : ' 0 10 * * *' # Once per day at 10am UTC
6
+ workflow_dispatch :
7
+
8
+ jobs :
9
+ code-quality-analysis :
10
+ name : code quality analysis report
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout source code
14
+ uses : actions/checkout@v3
15
+
16
+ - name : Set up JDK 17
17
+ uses : actions/setup-java@v3
18
+ with :
19
+ java-version : ' 17'
20
+ distribution : ' temurin'
21
+ cache : ' maven'
22
+
23
+ - name : Analyse test coverage with Jacoco
24
+ run : mvn -P test-coverage verify
25
+
26
+ - name : Analyse code quality with Sonar
27
+ env :
28
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
29
+ SONAR_HOST_URL : ${{ secrets.SONAR_URL }}
30
+ run : mvn sonar:sonar -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_TOKEN
31
+
You can’t perform that action at this time.
0 commit comments