Skip to content

Commit 18cff62

Browse files
committed
Bump versions
1 parent 3a61819 commit 18cff62

File tree

4 files changed

+45
-45
lines changed

4 files changed

+45
-45
lines changed

.github/workflows/codeql-analysis.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,18 @@ jobs:
5757

5858
steps:
5959
- name: Checkout repository
60-
uses: actions/checkout@v2
60+
uses: actions/checkout@v4
6161

62-
- name: Set up JDK 11.0.3
63-
uses: actions/setup-java@v2
62+
- name: Set up JDK
63+
uses: actions/setup-java@v3
6464
with:
65-
distribution: 'zulu'
66-
java-version: 11.0.3
65+
distribution: 'corretto'
66+
java-version: 21
6767
cache: 'maven'
6868

6969
# Initializes the CodeQL tools for scanning.
7070
- name: Initialize CodeQL
71-
uses: github/codeql-action/init@v1
71+
uses: github/codeql-action/init@v2
7272
with:
7373
languages: ${{ matrix.language }}
7474
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -79,7 +79,7 @@ jobs:
7979
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
8080
# If this step fails, then you should remove it and run the build manually (see below)
8181
- name: Autobuild
82-
uses: github/codeql-action/autobuild@v1
82+
uses: github/codeql-action/autobuild@v2
8383

8484
# ℹ️ Command-line programs to run using the OS shell.
8585
# 📚 https://git.io/JvXDl
@@ -93,4 +93,4 @@ jobs:
9393
# make release
9494

9595
- name: Perform CodeQL Analysis
96-
uses: github/codeql-action/analyze@v1
96+
uses: github/codeql-action/analyze@v2

.github/workflows/twitter-backend-pr-checker.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ jobs:
3333
runs-on: ubuntu-latest
3434

3535
steps:
36-
- name: Checkout Code
37-
uses: actions/checkout@v2
36+
- name: Checkout repository
37+
uses: actions/checkout@v4
3838
with:
3939
fetch-depth: 0
40-
41-
- name: Set up JDK 11.0.3
42-
uses: actions/setup-java@v2
40+
41+
- name: Set up JDK
42+
uses: actions/setup-java@v3
4343
with:
44-
distribution: 'zulu'
45-
java-version: 11.0.3
44+
distribution: 'corretto'
45+
java-version: 21
4646
cache: 'maven'
4747

4848
- name: Extract branch name
@@ -56,7 +56,7 @@ jobs:
5656
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
5757
run: |
5858
if [ -n "${{ github.event.pull_request.number }}" ]; then
59-
MAVEN_OPTS="-Xmx4096m" xvfb-run ./mvnw -B clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
59+
MAVEN_OPTS="-Xmx4096m" ./mvnw -B clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
6060
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }} \
6161
-Dsonar.pullrequest.branch=${{ steps.extract_branch.outputs.branch }} \
6262
-Dsonar.pullrequest.base=master
@@ -90,14 +90,14 @@ jobs:
9090
runs-on: ${{ matrix.platform }}
9191

9292
steps:
93-
- name: Checkout Code
94-
uses: actions/checkout@v2
95-
96-
- name: Set up JDK 11.0.3
97-
uses: actions/setup-java@v2
93+
- name: Checkout repository
94+
uses: actions/checkout@v4
95+
96+
- name: Set up JDK
97+
uses: actions/setup-java@v3
9898
with:
99-
distribution: 'zulu'
100-
java-version: 11.0.3
99+
distribution: 'corretto'
100+
java-version: 21
101101
cache: 'maven'
102102

103103
- name: Check Code Formatting

.github/workflows/twitter-backend.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ jobs:
3232
runs-on: ubuntu-latest
3333

3434
steps:
35-
- name: Checkout Code
36-
uses: actions/checkout@v2
35+
- name: Checkout repository
36+
uses: actions/checkout@v4
3737
with:
3838
fetch-depth: 0
39-
40-
- name: Set up JDK 11.0.3
41-
uses: actions/setup-java@v2
39+
40+
- name: Set up JDK
41+
uses: actions/setup-java@v3
4242
with:
43-
distribution: 'zulu'
44-
java-version: 11.0.3
43+
distribution: 'corretto'
44+
java-version: 21
4545
cache: 'maven'
4646

4747
- name: Cache SonarCloud packages
@@ -104,14 +104,14 @@ jobs:
104104
runs-on: ${{ matrix.platform }}
105105

106106
steps:
107-
- name: Checkout Code
108-
uses: actions/checkout@v2
109-
110-
- name: Set up JDK 11.0.3
111-
uses: actions/setup-java@v2
107+
- name: Checkout repository
108+
uses: actions/checkout@v4
109+
110+
- name: Set up JDK
111+
uses: actions/setup-java@v3
112112
with:
113-
distribution: 'zulu'
114-
java-version: 11.0.3
113+
distribution: 'corretto'
114+
java-version: 21
115115
cache: 'maven'
116116

117117
- name: Check Code Formatting

pom.xml

+8-8
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@
2525
<parent>
2626
<groupId>org.springframework.boot</groupId>
2727
<artifactId>spring-boot-starter-parent</artifactId>
28-
<version>2.5.1</version>
28+
<version>2.7.17</version>
2929
<relativePath />
3030
<!-- lookup parent from repository -->
3131
</parent>
3232

3333
<groupId>xyz.subho.clone</groupId>
3434
<artifactId>twitter</artifactId>
35-
<version>0.1.0-SNAPSHOT</version>
35+
<version>0.2.0-SNAPSHOT</version>
3636
<name>Twitter Backend</name>
3737
<description>Moo: Twitter Clone Application Backend by Scaler</description>
3838

39-
<inceptionYear>2021</inceptionYear>
39+
<inceptionYear>2021-2023</inceptionYear>
4040

4141
<licenses>
4242
<license>
@@ -63,12 +63,12 @@
6363
</scm>
6464

6565
<properties>
66-
<java.version>11</java.version>
66+
<java.version>21</java.version>
6767
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
68-
<spotless.plugin.version>2.8.1</spotless.plugin.version>
69-
<google-java-format.version>1.9</google-java-format.version>
70-
<license-maven-plugin.version>3.0</license-maven-plugin.version>
71-
<jacoco.version>0.8.6</jacoco.version>
68+
<spotless.plugin.version>2.40.0</spotless.plugin.version>
69+
<google-java-format.version>1.18.1</google-java-format.version>
70+
<license-maven-plugin.version>4.3</license-maven-plugin.version>
71+
<jacoco.version>0.8.11</jacoco.version>
7272

7373
<sonar.projectKey>scaleracademy_twitter-backend-java</sonar.projectKey>
7474
<sonar.organization>scaleracademy</sonar.organization>

0 commit comments

Comments
 (0)