Skip to content

Commit 6fd3b86

Browse files
committed
Update Java version to 17 and CodeQL actions to v3 in workflow and configuration files
1 parent 106f195 commit 6fd3b86

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.github/workflows/codeql-analysis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
# Initializes the CodeQL tools for scanning.
4040
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@v2
41+
uses: github/codeql-action/init@v3
4242
with:
4343
languages: ${{ matrix.language }}
4444
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -52,7 +52,7 @@ jobs:
5252
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5353
# If this step fails, then you should remove it and run the build manually (see below)
5454
- name: Autobuild
55-
uses: github/codeql-action/autobuild@v2
55+
uses: github/codeql-action/autobuild@v3
5656

5757
# ℹ️ Command-line programs to run using the OS shell.
5858
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -65,4 +65,4 @@ jobs:
6565
# ./location_of_script_within_repo/buildscript.sh
6666

6767
- name: Perform CodeQL Analysis
68-
uses: github/codeql-action/analyze@v2
68+
uses: github/codeql-action/analyze@v3

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This step-by-step guide details how to create a Java sample webapp via spring-bo
1111

1212
- An IDE, for example, [IntelliJ IDEA](https://www.jetbrains.com/idea/download/) / [STS](https://spring.io/tools) / [VSCode](https://code.visualstudio.com/download) / [Ecllipse](https://www.eclipse.org/downloads/)
1313

14-
- [JDK 1.8 or later](https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html)
14+
- [JDK 17 or later](https://www.oracle.com/in/java/technologies/downloads/#java17)
1515

1616
- Gradle 4+ or Maven 3.2+
1717

pom.xml

+10-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<name>graphql-springboot-api-integration</name>
1616
<description>Demo project for graphql-springboot-api-integration</description>
1717
<properties>
18-
<java.version>1.8</java.version>
18+
<java.version>17</java.version>
1919
<spring-boot.version>3.4.1</spring-boot.version>
2020
<json-smart.version>2.5.2</json-smart.version>
2121
</properties>
@@ -65,6 +65,15 @@
6565

6666

6767
</dependencies>
68+
<dependencyManagement>
69+
<dependencies>
70+
<dependency>
71+
<groupId>org.jetbrains.kotlin</groupId>
72+
<artifactId>kotlin-stdlib</artifactId>
73+
<version>1.6.0</version>
74+
</dependency>
75+
</dependencies>
76+
</dependencyManagement>
6877

6978
<build>
7079
<plugins>

0 commit comments

Comments
 (0)