Skip to content

Commit b0f481f

Browse files
author
Fabio Borriello
committed
bump to java 21 and adds unit test for Movie dao
1 parent 2b7d56b commit b0f481f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ jobs:
5252
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
5353
# queries: security-extended,security-and-quality
5454

55-
# JDK 24 setup
55+
# JDK 21 setup
5656
- name: "JDK set-up"
5757
uses: actions/setup-java@v5
5858
with:
59-
java-version: '24'
59+
java-version: '21'
6060
distribution: 'adopt'
6161
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6262
# If this step fails, then you should remove it and run the build manually (see below)

.github/workflows/github-default-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: "JDK set-up"
1616
uses: actions/setup-java@v5
1717
with:
18-
java-version: '24'
18+
java-version: '21'
1919
distribution: 'adopt'
2020
- name: "Build and run tests"
2121
run: |

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
<properties>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14-
<java.version>24</java.version>
15-
<maven.compiler.source>${java.version}</maven.compiler.source>
16-
<maven.compiler.target>${java.version}</maven.compiler.target>
14+
<jdk.version>21</jdk.version>
15+
<maven.compiler.source>${jdk.version}</maven.compiler.source>
16+
<maven.compiler.target>${jdk.version}</maven.compiler.target>
1717
<spring.lib.version>4.0.0</spring.lib.version>
1818
<bull.version>3.0.0</bull.version>
1919
<lombok.version>1.18.42</lombok.version>

0 commit comments

Comments
 (0)