Skip to content

Commit 70c90fc

Browse files
committed
chore: upgrade to newer github workflow actions, use jdk 21 to build
1 parent 4f9e9b7 commit 70c90fc

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ jobs:
1010
name: Maven clean package
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1616
- name: Set up JDK 11
17-
uses: actions/setup-java@v1
17+
uses: actions/setup-java@v4
1818
with:
1919
java-version: 11
2020
- name: Cache SonarCloud packages
21-
uses: actions/cache@v1
21+
uses: actions/cache@v4
2222
with:
2323
path: ~/.sonar/cache
2424
key: ${{ runner.os }}-sonar
2525
restore-keys: ${{ runner.os }}-sonar
2626
- name: Cache Maven packages
27-
uses: actions/cache@v1
27+
uses: actions/cache@v4
2828
with:
2929
path: ~/.m2
3030
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/sonarcloud.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ jobs:
1717
if: contains(github.event.pull_request.labels.*.name, 'safe to run with secrets')
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
2323
- name: Set up JDK 11
24-
uses: actions/setup-java@v1
24+
uses: actions/setup-java@v4
2525
with:
2626
java-version: 11
2727
- name: Cache Maven packages
28-
uses: actions/cache@v1
28+
uses: actions/cache@v4
2929
with:
3030
path: ~/.m2
3131
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3232
restore-keys: ${{ runner.os }}-m2
3333
- name: Cache SonarCloud packages
34-
uses: actions/cache@v1
34+
uses: actions/cache@v4
3535
with:
3636
path: ~/.sonar/cache
3737
key: ${{ runner.os }}-sonar

0 commit comments

Comments
 (0)