Skip to content

Commit

Permalink
升级test.yml中的springboot版本。
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed Sep 22, 2023
1 parent 61249ec commit aef3d0d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
java: [ 8, 11, 17, 21 ]
springboot: [
2.7.15 -Dspring-framework.version=5.3.29,
2.7.16 -Dspring-framework.version=5.3.30,
2.6.15 -Dspring-framework.version=5.3.27,
2.5.15 -Dspring-framework.version=5.3.27,
2.4.13 -Dspring-framework.version=5.3.13,
Expand Down Expand Up @@ -61,8 +61,8 @@ jobs:
matrix:
java: [ 17, 21 ]
springboot: [
3.1.3 -Dspring-framework.version=6.0.11,
3.0.10 -Dspring-framework.version=6.0.11,
3.1.4 -Dspring-framework.version=6.0.12 -Pdependencies-for-springboot3.1-or-above,
3.0.11 -Dspring-framework.version=6.0.12,
]
steps:
# step 1
Expand All @@ -89,7 +89,7 @@ jobs:
fail-fast: false
matrix:
springboot: [
2.7.15 -Dspring-framework.version=5.3.29,
2.7.16 -Dspring-framework.version=5.3.30,
2.6.15 -Dspring-framework.version=5.3.27,
2.5.15 -Dspring-framework.version=5.3.27,
2.4.13 -Dspring-framework.version=5.3.13,
Expand Down
34 changes: 22 additions & 12 deletions dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@
<netty.version>4.1.86.Final</netty.version>
<snakeyaml.version>2.0</snakeyaml.version>
<sofa.hessian.version>4.0.3</sofa.hessian.version>
<httpcore.version>4.4.16</httpcore.version>
<httpclient.version>4.5.14</httpclient.version>

<protobuf.version>3.16.3</protobuf.version>
<grpc.version>1.27.1</grpc.version>
Expand Down Expand Up @@ -172,16 +170,6 @@
<artifactId>hessian</artifactId>
<version>${sofa.hessian.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>${httpcore.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${httpclient.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
Expand Down Expand Up @@ -723,4 +711,26 @@
</dependency>
</dependencies>
</dependencyManagement>

<profiles>
<profile>
<id>dependencies-for-springboot3.1-or-above</id>
<properties>
<httpcore.version>4.4.16</httpcore.version>
<httpclient.version>4.5.14</httpclient.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>${httpcore.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${httpclient.version}</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>

0 comments on commit aef3d0d

Please sign in to comment.