Commit 089f6f1 1 parent 26368f8 commit 089f6f1 Copy full SHA for 089f6f1
File tree 3 files changed +8
-9
lines changed
3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 11
11
- uses : actions/setup-java@v4
12
12
with :
13
13
distribution : ' zulu'
14
- java-version : ' 17 '
14
+ java-version : ' 8 '
15
15
cache : maven
16
16
17
17
- run : |
Original file line number Diff line number Diff line change 139
139
<encoding >${project.build.sourceEncoding} </encoding >
140
140
</configuration >
141
141
</plugin >
142
+ <!-- 若要在GitHub Actions上执行mvn test,则必须添加此插件才能成功执行 -->
143
+ <plugin >
144
+ <groupId >org.apache.maven.plugins</groupId >
145
+ <artifactId >maven-surefire-plugin</artifactId >
146
+ <version >3.0.0-M5</version >
147
+ </plugin >
142
148
<!-- Source -->
143
149
<plugin >
144
150
<groupId >org.apache.maven.plugins</groupId >
169
175
<goal >prepare-agent</goal >
170
176
</goals >
171
177
</execution >
172
- <execution >
173
- <id >report</id >
174
- <phase >test</phase >
175
- <goals >
176
- <goal >report</goal >
177
- </goals >
178
- </execution >
179
178
</executions >
180
179
</plugin >
181
180
<!-- 测试报告上传Coveralls -->
Original file line number Diff line number Diff line change 3
3
<appender name =" STDOUT" class =" ch.qos.logback.core.ConsoleAppender" >
4
4
<encoder >
5
5
<!-- 简单日志模式 - 完整类名 -->
6
- <pattern >[%highlight(%-5level )][%X{fullClassName}][%X{id}][%X{fieldName}] - %msg%n</pattern >
6
+ <pattern >[%highlight(%level )][%X{fullClassName}][%X{id}][%X{fieldName}] - %msg%n</pattern >
7
7
<!-- 简单日志模式 -->
8
8
<!-- <pattern>[%highlight(%-5level)][%X{className}][%X{id}][%X{fieldName}] - %msg%n</pattern> -->
9
9
<!-- 详细日志模式 -->
You can’t perform that action at this time.
0 commit comments