2121 - name : Set up JDK 8
2222 uses : actions/setup-java@v3
2323 with :
24- distribution : zulu
24+ distribution : liberica
2525 java-version : 8
2626 cache : maven
2727
@@ -47,15 +47,15 @@ jobs:
4747 strategy :
4848 matrix :
4949 java : [ 11, 17, 19 ]
50- spring-boot-version : [ 2.4.13, 2.5.14, 2.6.12 , 2.7.4 ]
50+ spring-boot-version : [ 2.4.13, 2.5.14, 2.6.13 , 2.7.5 ]
5151
5252 steps :
5353 - uses : actions/checkout@v3
5454
5555 - name : Set up JDK ${{ matrix.java }}
5656 uses : actions/setup-java@v3
5757 with :
58- distribution : zulu
58+ distribution : liberica
5959 java-version : ${{ matrix.java }}
6060 cache : maven
6161
7272 name : reports
7373 path : ./**/target/surefire-reports
7474
75+ test-spring-boot-3-rc :
76+ if : contains(github.event.head_commit.message, '[skip ci]') == false
77+ runs-on : ubuntu-latest
78+ timeout-minutes : 30
79+ needs : [ test ]
80+
81+ steps :
82+ - uses : actions/checkout@v3
83+
84+ - name : Set up JDK
85+ uses : actions/setup-java@v3
86+ with :
87+ distribution : liberica
88+ java-version : 17
89+ cache : maven
90+
91+ - name : Grant execute permission for mvnw
92+ run : chmod +x mvnw
93+
94+ - name : Test with Maven
95+ run : ./mvnw $MAVEN_CLI_OPTS -pl :doma-spring-boot-core,:doma-spring-boot-autoconfigure,:doma-spring-boot-starter test -Dspring-boot.version=3.0.0-RC2
96+
97+ - name : Upload reports
98+ if : failure()
99+ uses : actions/upload-artifact@v3
100+ with :
101+ name : reports
102+ path : ./**/target/surefire-reports
103+
75104 test-slf4j-backward-compatible :
76105 if : contains(github.event.head_commit.message, '[skip ci]') == false
77106 runs-on : ubuntu-latest
84113 - name : Set up JDK 8
85114 uses : actions/setup-java@v3
86115 with :
87- distribution : zulu
116+ distribution : liberica
88117 java-version : 8
89118 cache : maven
90119
@@ -112,7 +141,7 @@ jobs:
112141 - name : Set up JDK 8
113142 uses : actions/setup-java@v3
114143 with :
115- distribution : zulu
144+ distribution : liberica
116145 java-version : 8
117146 cache : maven
118147
0 commit comments