Skip to content

Commit 53b973e

Browse files
authored
chore: bump github actions to use latest versions (#3033)
1 parent fcb0698 commit 53b973e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/maven-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,20 @@ jobs:
4242
steps:
4343

4444
- name: Checkout Code
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4646
with:
4747
# Disabling shallow clone for improving relevancy of SonarQube reporting
4848
fetch-depth: 0
4949

5050
- name: Set up JDK 17
51-
uses: actions/setup-java@v3
51+
uses: actions/setup-java@v4
5252
with:
5353
java-version: '17'
5454
distribution: 'temurin'
5555
cache: 'maven'
5656

5757
- name: Cache local Maven repository
58-
uses: actions/cache@v3
58+
uses: actions/cache@v4
5959
with:
6060
path: ~/.m2/repository
6161
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -64,7 +64,7 @@ jobs:
6464
6565
# Cache Sonar packages which as used to run analysis and collect metrics
6666
- name: Cache SonarCloud packages
67-
uses: actions/cache@v3
67+
uses: actions/cache@v4
6868
with:
6969
path: ~/.sonar/cache
7070
key: ${{ runner.os }}-sonar

.github/workflows/maven-pr-builder.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@ jobs:
4242
steps:
4343

4444
- name: Checkout Code
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4646
with:
4747
ref: ${{ github.event.pull_request.head.sha }}
4848

4949
- name: Set up JDK 17
50-
uses: actions/setup-java@v3
50+
uses: actions/setup-java@v4
5151
with:
5252
java-version: '17'
5353
distribution: 'temurin'
5454
cache: 'maven'
5555

5656
- name: Cache local Maven repository
57-
uses: actions/cache@v3
57+
uses: actions/cache@v4
5858
with:
5959
path: ~/.m2/repository
6060
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -63,7 +63,7 @@ jobs:
6363
6464
# Cache Sonar packages which as used to run analysis and collect metrics
6565
- name: Cache SonarCloud packages
66-
uses: actions/cache@v3
66+
uses: actions/cache@v4
6767
with:
6868
path: ~/.sonar/cache
6969
key: ${{ runner.os }}-sonar

0 commit comments

Comments
 (0)