File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 9
9
- master
10
10
- issue-*
11
11
12
+ permissions :
13
+ contents : write
14
+
12
15
jobs :
13
16
build_and_test :
14
17
name : Build and Test
21
24
- name : Install Java and Maven
22
25
uses : actions/setup-java@v4
23
26
with :
24
- java-version : ' 17 '
27
+ java-version : ' 21 '
25
28
distribution : ' adopt'
26
29
cache : maven
27
30
54
57
- name : Install Java and Maven
55
58
uses : actions/setup-java@v4
56
59
with :
57
- java-version : ' 17 '
60
+ java-version : ' 21 '
58
61
distribution : ' adopt'
59
62
cache : maven
60
63
86
89
mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
87
90
-Dsonar.projectKey=$SONAR_KEY
88
91
- name : Test Report
89
- uses : dorny/test-reporter@v1
92
+ uses : dorny/test-reporter@v2
90
93
if : success() || failure()
91
94
with :
92
95
name : Test Results
93
96
path : ${{ github.workspace }}/target/surefire-reports/TEST-TestSuite.xml
94
- reporter : java-junit
95
- java-version : 17
97
+ reporter : java-junit
You can’t perform that action at this time.
0 commit comments