This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-java.git
The following commit(s) were added to refs/heads/main by this push:
new 26e14f08 MINOR: Upgrade to GitHub actions/cache 4.2.2 (#650)
26e14f08 is described below
commit 26e14f08f1c2e4672d9525e8ffdac7ca17970f7c
Author: JB Onofré <[email protected]>
AuthorDate: Tue Mar 4 15:29:59 2025 +0100
MINOR: Upgrade to GitHub actions/cache 4.2.2 (#650)
Upgrade to GitHub actions/cache 4.2.2 as previous versions are
deprecated.
---
.github/workflows/dev.yml | 2 +-
.github/workflows/rc.yml | 8 ++++----
.github/workflows/test.yml | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index 2ac230f6..80d334bb 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -42,7 +42,7 @@ jobs:
with:
python-version: '3.x'
- name: pre-commit (cache)
- uses: actions/cache@v4
+ uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
diff --git a/.github/workflows/rc.yml b/.github/workflows/rc.yml
index f62b44bc..5d37252a 100644
--- a/.github/workflows/rc.yml
+++ b/.github/workflows/rc.yml
@@ -139,7 +139,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Cache
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
+ uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: .docker
key: jni-linux-${{ matrix.platform.arch }}-${{
hashFiles('arrow/cpp/**') }}
@@ -266,7 +266,7 @@ jobs:
run: |
echo "CCACHE_DIR=${PWD}/ccache" >> ${GITHUB_ENV}
- name: Cache ccache
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
+ uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ccache
key: jni-macos-${{ matrix.platform.arch }}-${{
hashFiles('arrow/cpp/**') }}
@@ -342,7 +342,7 @@ jobs:
run: |
echo "CCACHE_DIR=${PWD}/ccache" >> ${GITHUB_ENV}
- name: Cache ccache
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
+ uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ccache
key: jni-windows-${{ matrix.platform.arch }}-${{
hashFiles('arrow/cpp/**') }}
@@ -416,7 +416,7 @@ jobs:
repository: apache/arrow-testing
path: testing
- name: Cache ~/.m2
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
+ uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: ~/.m2
key: binaries-build-${{ hashFiles('**/*.java', '**/pom.xml') }}
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 3ea5d8a4..2fd12a02 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -63,7 +63,7 @@ jobs:
fetch-depth: 0
submodules: recursive
- name: Cache Docker Volumes
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
+ uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: .docker
key: maven-${{ matrix.jdk }}-${{ matrix.maven }}-${{
hashFiles('compose.yaml', '**/pom.xml', '**/*.java') }}
@@ -180,7 +180,7 @@ jobs:
run: |
ci/scripts/util_free_space.sh
- name: Cache Docker Volumes
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
+ uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
path: .docker
key: integration-conda-${{ hashFiles('cpp/**') }}