Skip to content

Commit

Permalink
build(deps): Updates the spring-boot-compatibility workflow with the …
Browse files Browse the repository at this point in the history
…latest spring boot versions. (#478)

Updates the spring-boot-compatibility workflow with the latest spring
boot versions.

See
https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-6.x#parameter-name-retention

---
cc @kagkarlsson
  • Loading branch information
NicklasWallgren committed Apr 18, 2024
1 parent d62bb51 commit 1749238
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/boot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
spring-boot: [ '2.5.14', '2.6.14', '2.7.11', '3.0.6', '3.1.0-RC1' ]
spring-boot: [ '2.5.15', '2.6.15', '2.7.18', '3.0.13', '3.1.10', '3.2.4' ]
name: Spring Boot ${{ matrix.spring-boot }}
steps:
- uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import java.time.Instant;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand All @@ -35,7 +36,7 @@ public static void main(String... args) {

/** Example hack: use a {@link CommandLineRunner} to trigger scheduling of a one-time task. */
@Bean
CommandLineRunner executeOnStartup(Scheduler scheduler, Task<Void> sampleOneTimeTask) {
CommandLineRunner executeOnStartup(Scheduler scheduler, @Qualifier("sampleOneTimeTask") Task<Void> sampleOneTimeTask) {
log.info("Scheduling one time task to now!");

return ignored ->
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<micro-jdbc.version>0.6.0</micro-jdbc.version>
<slf4j.version>1.7.36</slf4j.version>
<logback.version>1.2.12</logback.version>
<spring-boot.version>2.7.11</spring-boot.version>
<!-- <spring-boot.version>3.0.6</spring-boot.version>-->
<spring-boot.version>2.7.18</spring-boot.version>
<!-- <spring-boot.version>3.2.4</spring-boot.version>-->
<micrometer.version>1.11.1</micrometer.version>
<gson.version>2.10.1</gson.version>
<jackson.version>2.15.2</jackson.version>
Expand Down

0 comments on commit 1749238

Please sign in to comment.