Skip to content

Commit 20d2a1a

Browse files
committed
use Java 25
1 parent a9d69eb commit 20d2a1a

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
- name: Set up JDK
16-
uses: actions/setup-java@v3
16+
uses: actions/setup-java@v5
1717
with:
18-
java-version: "21"
19-
distribution: "temurin"
18+
java-version: '25'
19+
distribution: 'corretto'
2020
cache: maven
2121
- name: Build with Maven
2222
run: mvn --batch-mode --update-snapshots package

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
> See JavaAIDev [article](https://javaaidev.com/docs/rag/samples/text-to-sql) for more details.
66
7-
Test
8-
data: [Netflix data](https://github.com/neondatabase/postgres-sample-dbs?tab=readme-ov-file#netflix-data)
7+
Test data: [Netflix data](https://github.com/neondatabase/postgres-sample-dbs?tab=readme-ov-file#netflix-data)
98

109
How to run:
1110

@@ -32,5 +31,4 @@ See the screenshot below.
3231

3332
## Full Text-to-SQL Implementation
3433

35-
For a complete Text-to-SQL implementation, check out
36-
my [course](https://www.udemy.com/course/spring-ai-text-to-sql/?referralCode=6180D9A02FA8BA9D4F60).
34+
For a complete Text-to-SQL implementation, check out my [course](https://www.udemy.com/course/spring-ai-text-to-sql/?referralCode=6180D9A02FA8BA9D4F60).

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<name>Simple Text to SQL</name>
1717

1818
<properties>
19-
<java.version>21</java.version>
19+
<java.version>25</java.version>
2020
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2121
<spring-ai.version>1.0.1</spring-ai.version>
2222
<chat-agent-ui.version>0.11.0</chat-agent-ui.version>
@@ -63,7 +63,7 @@
6363
<dependency>
6464
<groupId>org.springdoc</groupId>
6565
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
66-
<version>2.5.0</version>
66+
<version>2.8.9</version>
6767
</dependency>
6868
<dependency>
6969
<groupId>org.apache.commons</groupId>

0 commit comments

Comments
 (0)