Skip to content

Commit 9fb21c4

Browse files
committed
update github actions to latest version
* fixes warnings: Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20....
1 parent 3c19ba2 commit 9fb21c4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/mavenCi.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,25 @@ jobs:
2222
version: 2.0.${{ github.run_number }}
2323

2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626

2727
- name: Set up JDK 17
28-
uses: actions/setup-java@v3
28+
uses: actions/setup-java@v4
2929
with:
3030
java-version: '17'
3131
distribution: 'corretto'
3232
cache: maven
3333

3434
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@v2
35+
uses: github/codeql-action/init@v3
3636
with:
3737
languages: 'java'
3838

3939
- name: Build
4040
run: mvn -V -B clean package org.jacoco:jacoco-maven-plugin:0.8.7:prepare-agent org.jacoco:jacoco-maven-plugin:0.8.7:report -Pcoverage -Dproject.version=${{ env.version }}-SNAPSHOT
4141

4242
- name: Upload Build Artifact
43-
uses: actions/upload-artifact@v3
43+
uses: actions/upload-artifact@v4
4444
with:
4545
name: KeepTime-${{ env.version }}
4646
path: /home/runner/work/KeepTime/KeepTime/target/*-bin.zip
@@ -52,17 +52,17 @@ jobs:
5252
run: mvn -V -B sonar:sonar -Dsonar.host.url=${{ secrets.HOST_URL }} -Dsonar.organization=${{ secrets.ORGANIZATION_NAME }} -Dsonar.projectKey=${{ secrets.PROJECT_KEY }} -Dsonar.java.binaries=. -Dsonar.qualitygate.wait=false
5353

5454
- name: Perform CodeQL Analysis
55-
uses: github/codeql-action/analyze@v2
55+
uses: github/codeql-action/analyze@v3
5656

5757
dependency-check:
5858

5959
runs-on: ubuntu-latest
6060

6161
steps:
62-
- uses: actions/checkout@v3
62+
- uses: actions/checkout@v4
6363

6464
- name: Set up JDK 17
65-
uses: actions/setup-java@v3
65+
uses: actions/setup-java@v4
6666
with:
6767
java-version: '17'
6868
distribution: 'corretto'

0 commit comments

Comments
 (0)