Skip to content

Commit 95ae5ee

Browse files
committed
Run tests with every supported Spring Boot version
1 parent 66940ab commit 95ae5ee

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
strategy:
13+
fail-fast: false
1314
matrix:
1415
java: [ '17', '21' ]
1516
spring-boot-version: ['3.0.13', '3.1.12', '3.2.12', '3.3.12', '3.4.6', '3.5.0']

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
buildscript {
22
ext {
33
springBootVersion = project.hasProperty('springBootVersion') ? project.springBootVersion : '3.5.0'
4+
springVersion = '6.2.7'
45
jacksonVersion = '2.19.0'
56
retrofitVersion = '2.11.0'
67
}
@@ -39,10 +40,10 @@ dependencies {
3940
compileOnly group: 'org.apache.tomcat', name: 'tomcat-catalina', version: '10.1.41'
4041

4142
// https://mvnrepository.com/artifact/org.springframework/spring-webmvc
42-
compileOnly 'org.springframework:spring-webmvc'
43+
compileOnly group: 'org.springframework', name: 'spring-webmvc', version: "${springVersion}"
4344

4445
// https://mvnrepository.com/artifact/org.springframework/spring-tx
45-
compileOnly 'org.springframework:spring-tx'
46+
compileOnly group: 'org.springframework', name: 'spring-tx', version: "${springVersion}"
4647

4748
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-security
4849
compileOnly group: 'org.springframework.boot', name: 'spring-boot-starter-security', version: "${springBootVersion}"

0 commit comments

Comments
 (0)