File tree 1 file changed +2
-62
lines changed
1 file changed +2
-62
lines changed Original file line number Diff line number Diff line change 11
11
12
12
steps :
13
13
- uses : actions/checkout@v4
14
+ with :
15
+ ref : " refs/pull/${{ github.event.number }}/merge"
14
16
- name : Set up JDK 21
15
17
uses : actions/setup-java@v4
16
18
with :
34
36
with :
35
37
github-token : ${{ secrets.GITHUB_TOKEN }}
36
38
pr-number : ${{ steps.pr.outputs.number }}
37
- config : >
38
- {
39
- "tests": {
40
- "name": "Tests",
41
- "tools": [
42
- {
43
- "id": "test",
44
- "name": "Tests",
45
- "pattern": "**/target/*-reports/TEST*.xml"
46
- }
47
- ]
48
- },
49
- "analysis": [
50
- {
51
- "name": "Style",
52
- "id": "style",
53
- "tools": [
54
- {
55
- "id": "checkstyle",
56
- "pattern": "**/target/checkstyle-*/checkstyle-result.xml"
57
- },
58
- {
59
- "id": "pmd",
60
- "pattern": "**/target/pmd-*/pmd.xml"
61
- }
62
- ]
63
- },
64
- {
65
- "name": "Bugs",
66
- "id": "bugs",
67
- "icon": "bug",
68
- "tools": [
69
- {
70
- "id": "spotbugs",
71
- "sourcePath": "src/main/java",
72
- "pattern": "**/target/spotbugsXml.xml"
73
- }
74
- ]
75
- }
76
- ],
77
- "coverage": [
78
- {
79
- "name": "Code Coverage",
80
- "tools": [
81
- {
82
- "id": "jacoco",
83
- "name": "Line Coverage",
84
- "metric": "line",
85
- "sourcePath": "src/main/java",
86
- "pattern": "**/target/site/jacoco/jacoco.xml"
87
- },
88
- {
89
- "id": "jacoco",
90
- "name": "Branch Coverage",
91
- "metric": "branch",
92
- "sourcePath": "src/main/java",
93
- "pattern": "**/target/site/jacoco/jacoco.xml"
94
- }
95
- ]
96
- }
97
- ]
98
- }
You can’t perform that action at this time.
0 commit comments