Skip to content

Commit d7ee31d

Browse files
committed
updated action/checkout and action/cache workflows
1 parent 07e0fe5 commit d7ee31d

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/basic-checks.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/setup-java@v1
1515
with:
1616
java-version: ${{ env.JAVA_VERSION }}
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- name: Check
1919
run: ./gradlew spotlessCheck
2020

@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/setup-java@v1
2727
with:
2828
java-version: ${{ env.JAVA_VERSION }}
29-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v4
3030
- name: Check
3131
run: ./gradlew test
3232

@@ -38,7 +38,7 @@ jobs:
3838
uses: actions/setup-java@v1
3939
with:
4040
java-version: ${{ env.JAVA_VERSION }}
41-
- uses: actions/checkout@v2
41+
- uses: actions/checkout@v4
4242
with:
4343
fetch-depth: 2
4444
- name: Check

.github/workflows/code-analysis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: SonarCloud
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
with:
2020
# Shallow clones should be disabled for a better relevancy of analysis
2121
fetch-depth: 0
@@ -24,13 +24,13 @@ jobs:
2424
with:
2525
java-version: ${{ env.JAVA_VERSION }}
2626
- name: Cache SonarCloud packages
27-
uses: actions/cache@v1
27+
uses: actions/cache@v4
2828
with:
2929
path: ~/.sonar/cache
3030
key: ${{ runner.os }}-sonar
3131
restore-keys: ${{ runner.os }}-sonar
3232
- name: Cache Gradle packages
33-
uses: actions/cache@v1
33+
uses: actions/cache@v4
3434
with:
3535
path: ~/.gradle/caches
3636
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
@@ -64,7 +64,7 @@ jobs:
6464
with:
6565
java-version: ${{ env.JAVA_VERSION }}
6666
- name: Checkout repository
67-
uses: actions/checkout@v2
67+
uses: actions/checkout@v4
6868
with:
6969
# We must fetch at least the immediate parents so that if this is
7070
# a pull request then we can check out the head.

.github/workflows/docker-publish.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
shell: bash
2222
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
2323
id: extract_branch
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525
with:
2626
fetch-depth: 0
2727
- name: Build and Publish Docker Image

.github/workflows/docker-verify.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/setup-java@v1
1515
with:
1616
java-version: ${{ env.JAVA_VERSION }}
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
2020
- name: Docker Verify

.github/workflows/releases.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
java-version: ${{ env.JAVA_VERSION }}
2525

26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v4
2727

2828
- name: Build shadow jar
2929
run: ./gradlew shadowJar

0 commit comments

Comments
 (0)