Skip to content

Commit d741bc5

Browse files
authored
Merge pull request scipy#22517 from nbelakovski/fix_actions_cache
CI: Use actions/cache 4.2.0
2 parents be98c98 + bec69ca commit d741bc5

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/array_api.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
8989
9090
- name: Setup compiler cache
91-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
91+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
9292
id: cache-ccache
9393
with:
9494
path: ${{ steps.prep-ccache.outputs.dir }}

.github/workflows/linux.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
8686
8787
- name: Setup compiler cache
88-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
88+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
8989
id: cache-ccache
9090
# Reference: https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
9191
# NOTE: The caching strategy is modeled in a way that it will always have a unique cache key for each workflow run
@@ -312,7 +312,7 @@ jobs:
312312
sudo apt-get install -y libgmp-dev libmpfr-dev libmpc-dev ccache gfortran lcov
313313
314314
- name: Caching Python dependencies
315-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
315+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
316316
id: cache
317317
with:
318318
path: ~/.cache/pip
@@ -336,7 +336,7 @@ jobs:
336336
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
337337
338338
- name: Setup compiler cache
339-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
339+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
340340
id: cache-ccache
341341
with:
342342
path: ${{ steps.prep-ccache.outputs.dir }}

.github/workflows/linux_intel_oneAPI.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
6868
- name: cache install
6969
id: cache-install
70-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
70+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
7171
with:
7272
path: |
7373
/opt/intel/oneapi/

.github/workflows/macos.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
5858
5959
- name: Setup compiler cache
60-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
60+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
6161
id: cache-ccache
6262
# Reference: https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
6363
# NOTE: The caching strategy is modeled in a way that it will always have
@@ -92,7 +92,7 @@ jobs:
9292
shell: bash
9393

9494
- name: Cache conda
95-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
95+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
9696
env:
9797
# Increase this value to reset cache if environment.yml has not changed
9898
CACHE_NUMBER: 1

.github/workflows/windows_intel_oneAPI.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
7070
- name: cache install
7171
id: cache-install
72-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
72+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
7373
with:
7474
path: |
7575
C:\Program Files (x86)\Intel\oneAPI\compiler

0 commit comments

Comments
 (0)