Skip to content

Commit 2fb94e8

Browse files
committed
Upgrade GitHub actions plugins.
cache v6.1.0, checkout v7.0.1, setup-java v6.0.0 See #2928
1 parent f67a502 commit 2fb94e8

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Build project
1616
runs-on: ${{ vars.ACTION_RUNNER || 'ubuntu-latest' }}
1717
steps:
18-
- uses: actions/checkout@v6
18+
- uses: actions/checkout@v7.0.1
1919
- name: Setup Java and Maven
2020
uses: spring-projects/spring-data-build/actions/setup-maven@main
2121
with:

.github/workflows/release-train-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ jobs:
3636
fi
3737
- name: "Set up Java"
3838
id: "set-up-java"
39-
uses: "actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95" # v5.6.0
39+
uses: "actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c" # v6.0.0
4040
with:
4141
distribution: "liberica"
4242
java-version: "25"
4343
- name: "Check Out Code"
4444
id: "check-out-code"
45-
uses: "actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0" # v7.0.0
45+
uses: "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1" # v7.0.1
4646
- name: "Build Release"
4747
id: "build-release"
4848
uses: "./.github/actions/release-train-build"

.github/workflows/release-train-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ jobs:
3636
fi
3737
- name: "Set up Java"
3838
id: "set-up-java"
39-
uses: "actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95" # v5.6.0
39+
uses: "actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c" # v6.0.0
4040
with:
4141
distribution: "liberica"
4242
java-version: "25"
4343
- name: "Check Out Code"
4444
id: "check-out-code"
45-
uses: "actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0" # v7.0.0
45+
uses: "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1" # v7.0.1
4646
- name: "Restore Build System Caches"
4747
id: "restore-build-system-caches"
4848
uses: "actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9" # v6.1.0

.github/workflows/snapshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
if: ${{ github.repository_owner == 'spring-projects' }}
1414
runs-on: ${{ vars.ACTION_RUNNER || 'ubuntu-latest' }}
1515
steps:
16-
- uses: actions/checkout@v6
16+
- uses: actions/checkout@v7.0.1
1717
- name: Setup Java and Maven
1818
uses: spring-projects/spring-data-build/actions/setup-maven@main
1919
with:

actions/setup-java/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ runs:
2424
PRECONFIGURED_JAVA_VERSION=$([[ "${JAVA_VERSION_INPUT}" =~ ^[a-z0-9\\.]+$ ]] && echo ${CONFIG_JSON} | jq -r ".java.${JAVA_VERSION_INPUT}")
2525
echo "PRECONFIGURED_JAVA_VERSION_EXISTS=$PRECONFIGURED_JAVA_VERSION_EXISTS" >> $GITHUB_OUTPUT
2626
echo "PRECONFIGURED_JAVA_VERSION=$PRECONFIGURED_JAVA_VERSION" >> $GITHUB_OUTPUT
27-
- uses: actions/setup-java@v5.2.0
27+
- uses: actions/setup-java@v6.0.0
2828
id: install-preconfigured-java-version
2929
if: ${{ steps.check-java-version.outputs.PRECONFIGURED_JAVA_VERSION_EXISTS == 'true' }}
3030
with:
3131
java-version: '${{ steps.check-java-version.outputs.PRECONFIGURED_JAVA_VERSION }}'
3232
distribution: '${{ env.JAVA_DIST }}'
33-
- uses: actions/setup-java@v5.2.0
33+
- uses: actions/setup-java@v6.0.0
3434
id: install-custom-java-version
3535
if: ${{ steps.check-java-version.outputs.PRECONFIGURED_JAVA_VERSION_EXISTS == 'false' }}
3636
with:

actions/setup-maven/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ runs:
2929
fi
3030
echo "DEV_LINE=${DEV_LINE}" >> $GITHUB_OUTPUT
3131
- name: Maven Repository Cache
32-
uses: actions/cache@v5.0.3
32+
uses: actions/cache@v6.1.0
3333
with:
3434
path: |
3535
~/.m2/repository

0 commit comments

Comments
 (0)