Skip to content

Commit 13a5465

Browse files
MINOR: [CI] Bump actions/cache from 4 to 5 (#48543)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/cache/releases">actions/cache's releases</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <blockquote> <p>[!IMPORTANT] <strong><code>actions/cache@v5</code> runs on the Node.js 24 runtime and requires a minimum Actions Runner version of <code>2.327.1</code>.</strong></p> <p>If you are using self-hosted runners, ensure they are updated before upgrading.</p> </blockquote> <hr /> <h2>What's Changed</h2> <ul> <li>Upgrade to use node24 by <a href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1630">actions/cache#1630</a></li> <li>Prepare v5.0.0 release by <a href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1684">actions/cache#1684</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v4.3.0...v5.0.0">https://github.com/actions/cache/compare/v4.3.0...v5.0.0</a></p> <h2>v4.3.0</h2> <h2>What's Changed</h2> <ul> <li>Add note on runner versions by <a href="https://github.com/GhadimiR"><code>@​GhadimiR</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1642">actions/cache#1642</a></li> <li>Prepare <code>v4.3.0</code> release by <a href="https://github.com/Link"><code>@​Link</code></a>- in <a href="https://redirect.github.com/actions/cache/pull/1655">actions/cache#1655</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/GhadimiR"><code>@​GhadimiR</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1642">actions/cache#1642</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v4...v4.3.0">https://github.com/actions/cache/compare/v4...v4.3.0</a></p> <h2>v4.2.4</h2> <h2>What's Changed</h2> <ul> <li>Update README.md by <a href="https://github.com/nebuk89"><code>@​nebuk89</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1620">actions/cache#1620</a></li> <li>Upgrade <code>@actions/cache</code> to <code>4.0.5</code> and move <code>@protobuf-ts/plugin</code> to dev depdencies by <a href="https://github.com/Link"><code>@​Link</code></a>- in <a href="https://redirect.github.com/actions/cache/pull/1634">actions/cache#1634</a></li> <li>Prepare release <code>4.2.4</code> by <a href="https://github.com/Link"><code>@​Link</code></a>- in <a href="https://redirect.github.com/actions/cache/pull/1636">actions/cache#1636</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/nebuk89"><code>@​nebuk89</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1620">actions/cache#1620</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v4...v4.2.4">https://github.com/actions/cache/compare/v4...v4.2.4</a></p> <h2>v4.2.3</h2> <h2>What's Changed</h2> <ul> <li>Update to use <code>@​actions/cache</code> 4.0.3 package &amp; prepare for new release by <a href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a href="https://redirect.github.com/actions/cache/pull/1577">actions/cache#1577</a> (SAS tokens for cache entries are now masked in debug logs)</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> made their first contribution in <a href="https://redirect.github.com/actions/cache/pull/1577">actions/cache#1577</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/cache/compare/v4.2.2...v4.2.3">https://github.com/actions/cache/compare/v4.2.2...v4.2.3</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/cache/blob/main/RELEASES.md">actions/cache's changelog</a>.</em></p> <blockquote> <h1>Releases</h1> <h2>Changelog</h2> <h3>5.0.1</h3> <ul> <li>Update <code>@azure/storage-blob</code> to <code>^12.29.1</code> via <code>@actions/[email protected]</code> <a href="https://redirect.github.com/actions/cache/pull/1685">#1685</a></li> </ul> <h3>5.0.0</h3> <blockquote> <p>[!IMPORTANT] <code>actions/cache@v5</code> runs on the Node.js 24 runtime and requires a minimum Actions Runner version of <code>2.327.1</code>. If you are using self-hosted runners, ensure they are updated before upgrading.</p> </blockquote> <h3>4.3.0</h3> <ul> <li>Bump <code>@actions/cache</code> to <a href="https://redirect.github.com/actions/toolkit/pull/2132">v4.1.0</a></li> </ul> <h3>4.2.4</h3> <ul> <li>Bump <code>@actions/cache</code> to v4.0.5</li> </ul> <h3>4.2.3</h3> <ul> <li>Bump <code>@actions/cache</code> to v4.0.3 (obfuscates SAS token in debug logs for cache entries)</li> </ul> <h3>4.2.2</h3> <ul> <li>Bump <code>@actions/cache</code> to v4.0.2</li> </ul> <h3>4.2.1</h3> <ul> <li>Bump <code>@actions/cache</code> to v4.0.1</li> </ul> <h3>4.2.0</h3> <p>TLDR; The cache backend service has been rewritten from the ground up for improved performance and reliability. <a href="https://github.com/actions/cache">actions/cache</a> now integrates with the new cache service (v2) APIs.</p> <p>The new service will gradually roll out as of <strong>February 1st, 2025</strong>. The legacy service will also be sunset on the same date. Changes in these release are <strong>fully backward compatible</strong>.</p> <p><strong>We are deprecating some versions of this action</strong>. We recommend upgrading to version <code>v4</code> or <code>v3</code> as soon as possible before <strong>February 1st, 2025.</strong> (Upgrade instructions below).</p> <p>If you are using pinned SHAs, please use the SHAs of versions <code>v4.2.0</code> or <code>v3.4.0</code></p> <p>If you do not upgrade, all workflow runs using any of the deprecated <a href="https://github.com/actions/cache">actions/cache</a> will fail.</p> <p>Upgrading to the recommended versions will not break your workflows.</p> <h3>4.1.2</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/cache/commit/9255dc7a253b0ccc959486e2bca901246202afeb"><code>9255dc7</code></a> Merge pull request <a href="https://redirect.github.com/actions/cache/issues/1686">#1686</a> from actions/cache-v5.0.1-release</li> <li><a href="https://github.com/actions/cache/commit/8ff5423e8b66eacab4e638ee52abbd2cb831366a"><code>8ff5423</code></a> chore: release v5.0.1</li> <li><a href="https://github.com/actions/cache/commit/9233019a152bc768059ac1768b8e4403b5da16c1"><code>9233019</code></a> Merge pull request <a href="https://redirect.github.com/actions/cache/issues/1685">#1685</a> from salmanmkc/node24-storage-blob-fix</li> <li><a href="https://github.com/actions/cache/commit/b975f2bb844529e1063ad882c609b224bcd66eb6"><code>b975f2b</code></a> fix: add peer property to package-lock.json for dependencies</li> <li><a href="https://github.com/actions/cache/commit/d0a0e1813491d01d574c95f8d189f62622bbb2ae"><code>d0a0e18</code></a> fix: update license files for <code>@​actions/cache</code>, fast-xml-parser, and strnum</li> <li><a href="https://github.com/actions/cache/commit/74de208dcfcbe85c0e7154e7b17e4105fe2554ff"><code>74de208</code></a> fix: update <code>@​actions/cache</code> to ^5.0.1 for Node.js 24 punycode fix</li> <li><a href="https://github.com/actions/cache/commit/ac7f1152ead02e89c14b5456d14ab17591e74cfb"><code>ac7f115</code></a> peer</li> <li><a href="https://github.com/actions/cache/commit/b0f846b50b6061d7a2ca6f1a2fea61d4a65d1a16"><code>b0f846b</code></a> fix: update <code>@​actions/cache</code> with storage-blob fix for Node.js 24 punycode depr...</li> <li><a href="https://github.com/actions/cache/commit/a7833574556fa59680c1b7cb190c1735db73ebf0"><code>a783357</code></a> Merge pull request <a href="https://redirect.github.com/actions/cache/issues/1684">#1684</a> from actions/prepare-cache-v5-release</li> <li><a href="https://github.com/actions/cache/commit/3bb0d78750a39cefce0c2b5a0a9801052b4359ad"><code>3bb0d78</code></a> docs: highlight v5 runner requirement in releases</li> <li>Additional commits viewable in <a href="https://github.com/actions/cache/compare/v4...v5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/cache&package-manager=github_actions&previous-version=4&new-version=5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 6cac811 commit 13a5465

File tree

13 files changed

+26
-26
lines changed

13 files changed

+26
-26
lines changed

.github/workflows/cpp.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
fetch-depth: 0
116116
submodules: recursive
117117
- name: Cache Docker Volumes
118-
uses: actions/cache@v4
118+
uses: actions/cache@v5
119119
with:
120120
path: .docker
121121
key: ${{ matrix.image }}-${{ hashFiles('cpp/**') }}
@@ -250,7 +250,7 @@ jobs:
250250
run: |
251251
echo "cache-dir=$(ccache --get-config cache_dir)" >> $GITHUB_OUTPUT
252252
- name: Cache ccache
253-
uses: actions/cache@v4
253+
uses: actions/cache@v5
254254
with:
255255
path: ${{ steps.ccache-info.outputs.cache-dir }}
256256
key: cpp-ccache-macos-${{ matrix.macos-version }}-${{ hashFiles('cpp/**') }}
@@ -356,7 +356,7 @@ jobs:
356356
shell: msys2 {0}
357357
run: ci/scripts/msys2_setup.sh cpp
358358
- name: Cache ccache
359-
uses: actions/cache@v4
359+
uses: actions/cache@v5
360360
with:
361361
path: ccache
362362
key: cpp-ccache-${{ matrix.msystem_lower}}-${{ hashFiles('cpp/**') }}

.github/workflows/cpp_extra.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
fetch-depth: 0
127127
submodules: recursive
128128
- name: Cache Docker Volumes
129-
uses: actions/cache@v4
129+
uses: actions/cache@v5
130130
with:
131131
path: .docker
132132
key: extra-${{ matrix.image }}-${{ hashFiles('cpp/**') }}
@@ -211,7 +211,7 @@ jobs:
211211
run: |
212212
ci/scripts/util_free_space.sh
213213
- name: Cache Docker Volumes
214-
uses: actions/cache@v4
214+
uses: actions/cache@v5
215215
with:
216216
path: .docker
217217
key: jni-${{ matrix.platform.runs-on }}-${{ hashFiles('cpp/**') }}
@@ -283,7 +283,7 @@ jobs:
283283
run: |
284284
echo "CCACHE_DIR=${PWD}/ccache" >> ${GITHUB_ENV}
285285
- name: Cache ccache
286-
uses: actions/cache@v4
286+
uses: actions/cache@v5
287287
with:
288288
path: ccache
289289
key: jni-macos-${{ hashFiles('cpp/**') }}

.github/workflows/cpp_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
run: |
106106
echo "cache-dir=$(ccache --get-config cache_dir)" >> $GITHUB_OUTPUT
107107
- name: Cache ccache
108-
uses: actions/cache@v4
108+
uses: actions/cache@v5
109109
with:
110110
path: ${{ steps.ccache-info.outputs.cache-dir }}
111111
key: cpp-ccache-windows-${{ inputs.arch }}-${{ hashFiles('cpp/**') }}

.github/workflows/dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
r-base \
5959
ruby-dev
6060
- name: Cache pre-commit
61-
uses: actions/cache@v4
61+
uses: actions/cache@v5
6262
with:
6363
path: |
6464
~/.cache/pre-commit

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: |
4747
ci/scripts/util_free_space.sh
4848
- name: Cache Docker Volumes
49-
uses: actions/cache@v4
49+
uses: actions/cache@v5
5050
with:
5151
path: .docker
5252
key: debian-docs-${{ hashFiles('cpp/**') }}

.github/workflows/docs_light.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
with:
5454
fetch-depth: 0
5555
- name: Cache Docker Volumes
56-
uses: actions/cache@v4
56+
uses: actions/cache@v5
5757
with:
5858
path: .docker
5959
key: conda-docs-${{ hashFiles('cpp/**') }}

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
run: |
103103
ci/scripts/util_free_space.sh
104104
- name: Cache Docker Volumes
105-
uses: actions/cache@v4
105+
uses: actions/cache@v5
106106
with:
107107
path: .docker
108108
key: conda-${{ hashFiles('cpp/**') }}

.github/workflows/matlab.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
shell: bash
7171
run: echo "cache-dir=$(ccache --get-config cache_dir)" >> $GITHUB_OUTPUT
7272
- name: Cache ccache
73-
uses: actions/cache@v4
73+
uses: actions/cache@v5
7474
with:
7575
path: ${{ steps.ccache-info.outputs.cache-dir }}
7676
key: matlab-ccache-ubuntu-${{ hashFiles('cpp/**', 'matlab/**') }}
@@ -118,7 +118,7 @@ jobs:
118118
shell: bash
119119
run: echo "cache-dir=$(ccache --get-config cache_dir)" >> $GITHUB_OUTPUT
120120
- name: Cache ccache
121-
uses: actions/cache@v4
121+
uses: actions/cache@v5
122122
with:
123123
path: ${{ steps.ccache-info.outputs.cache-dir }}
124124
key: matlab-ccache-macos-${{ hashFiles('cpp/**', 'matlab/**') }}
@@ -161,7 +161,7 @@ jobs:
161161
shell: bash
162162
run: echo "cache-dir=$(ccache --get-config cache_dir)" >> $GITHUB_OUTPUT
163163
- name: Cache ccache
164-
uses: actions/cache@v4
164+
uses: actions/cache@v5
165165
with:
166166
path: |
167167
${{ steps.ccache-info.outputs.cache-dir }}

.github/workflows/package_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ jobs:
180180
echo "ARROW_VERSION=${version}" >> "${GITHUB_ENV}"
181181
fi
182182
- name: Cache Docker Volumes
183-
uses: actions/cache@v4
183+
uses: actions/cache@v5
184184
with:
185185
path: .docker
186186
key: package-linux-${{ matrix.id }}-${{ hashFiles('cpp/**', 'c_glib/**') }}

.github/workflows/python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
fetch-depth: 0
109109
submodules: recursive
110110
- name: Cache Docker Volumes
111-
uses: actions/cache@v4
111+
uses: actions/cache@v5
112112
with:
113113
path: .docker
114114
key: ${{ matrix.cache }}-${{ hashFiles('cpp/**') }}
@@ -211,7 +211,7 @@ jobs:
211211
shell: bash
212212
run: echo "cache-dir=$(ccache --get-config cache_dir)" >> $GITHUB_OUTPUT
213213
- name: Cache ccache
214-
uses: actions/cache@v4
214+
uses: actions/cache@v5
215215
with:
216216
path: ${{ steps.ccache-info.outputs.cache-dir }}
217217
key: python-ccache-macos-${{ matrix.macos-version }}-${{ hashFiles('cpp/**', 'python/**') }}
@@ -280,7 +280,7 @@ jobs:
280280
echo "CCACHE_DIR=$(ccache --get-config cache_dir)" >> $GITHUB_ENV
281281
echo "usr-windows-dir="$(cygpath --absolute --windows /usr)"" >> $GITHUB_OUTPUT
282282
- name: Cache ccache
283-
uses: actions/cache@v4
283+
uses: actions/cache@v5
284284
with:
285285
path: ${{ env.CCACHE_DIR }}
286286
key: python-ccache-windows-${{ env.CACHE_VERSION }}-${{ hashFiles('cpp/**') }}

0 commit comments

Comments
 (0)