Skip to content

Commit 2fb9480

Browse files
committed
feat(环境): 降低 logback 版本适配 jdk8
1 parent e59711d commit 2fb9480

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/checker.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ jobs:
2929
- name: Check Spotbugs
3030
run: ./mvnw spotbugs:check
3131

32-
- name: Build with Maven
33-
run: ./mvnw -B clean package
32+
# 执行所有模块的测试
33+
- name: Run Unit Tests
34+
run: ./mvnw -B test
3435

3536
# 收集所有模块的测试报告
3637
- name: Publish Test Results
@@ -42,6 +43,9 @@ jobs:
4243
reporter: java-junit
4344
fail-on-error: false
4445

46+
- name: Build with Maven
47+
run: ./mvnw -B clean package
48+
4549
# 上传所有模块的测试结果
4650
- name: Upload Test Results
4751
if: always()

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<!-- 依赖版本 -->
5151
<okhttp.version>4.12.0</okhttp.version>
5252
<jackson.version>2.16.1</jackson.version>
53-
<logback.version>1.5.6</logback.version>
53+
<logback.version>1.2.12</logback.version>
5454
<junit.version>5.10.1</junit.version>
5555
<mockito.version>5.10.0</mockito.version>
5656
<lombok.version>1.18.34</lombok.version>

0 commit comments

Comments
 (0)