Commit 26b3019 1 parent 7d95155 commit 26b3019 Copy full SHA for 26b3019
File tree 1 file changed +9
-16
lines changed
1 file changed +9
-16
lines changed Original file line number Diff line number Diff line change 6
6
branches :
7
7
- main
8
8
9
+ concurrency :
10
+ group : ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress : true
12
+
9
13
jobs :
10
- build :
11
- name : Build and analyze
14
+ analyze :
12
15
runs-on : ubuntu-latest
13
16
14
17
steps :
@@ -23,22 +26,12 @@ jobs:
23
26
java-version : 21
24
27
cache : ' gradle'
25
28
26
- - name : Cache SonarQube packages
27
- uses : actions/cache@v4
28
- with :
29
- path : ~/.sonar/cache
30
- key : ${{ runner.os }}-sonar
31
- restore-keys : ${{ runner.os }}-sonar
32
-
33
- - name : Cache Gradle packages
34
- uses : actions/cache@v4
35
- with :
36
- path : ~/.gradle/caches
37
- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
38
- restore-keys : ${{ runner.os }}-gradle
29
+ - name : Generate kover XML Report
30
+ run : |
31
+ ./gradlew koverXmlReport --parallel
39
32
40
33
- name : Build and analyze
41
34
env :
42
35
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
43
36
SONAR_HOST_URL : ${{ secrets.SONAR_HOST_URL }}
44
- run : ./gradlew build sonar --info
37
+ run : ./gradlew sonar --parallel
You can’t perform that action at this time.
0 commit comments