Skip to content

Commit f6087a9

Browse files
authored
CI: gha update (scipy#21906)
2 parents 0ea90cf + 98a8628 commit f6087a9

File tree

9 files changed

+48
-48
lines changed

9 files changed

+48
-48
lines changed

.github/workflows/array_api.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ jobs:
5757
- maintenance-branch: true
5858

5959
steps:
60-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
60+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6161
with:
6262
submodules: recursive
6363

6464
- name: Setup Python
65-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
65+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
6666
with:
6767
python-version: ${{ matrix.python-version }}
6868
cache: 'pip' # not using a path to also cache pytorch
@@ -94,7 +94,7 @@ jobs:
9494
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
9595
9696
- name: Setup compiler cache
97-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
97+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
9898
id: cache-ccache
9999
with:
100100
path: ${{ steps.prep-ccache.outputs.dir }}

.github/workflows/commit_message.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
message: ${{ steps.skip_check.outputs.message }}
1919
steps:
2020
- name: Checkout scipy
21-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
21+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222
# Gets the correct commit message for pull request
2323
with:
2424
ref: ${{ github.event.pull_request.head.sha }}

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ jobs:
2727
python-version: ['3.11']
2828

2929
steps:
30-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
30+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3131
with:
3232
fetch-depth: 0 # previous commits used in tools/lint.py
3333
submodules: recursive
3434

3535
- name: Setup Python
36-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
36+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
3737
with:
3838
python-version: ${{ matrix.python-version }}
3939

.github/workflows/linux.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ jobs:
4444
python-version: '3.12'
4545

4646
steps:
47-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
47+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4848
with:
4949
submodules: recursive
5050

5151
- name: Setup Python
52-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
52+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
5353
with:
5454
python-version: ${{ matrix.python-version }}
5555
cache: 'pip'
@@ -85,7 +85,7 @@ jobs:
8585
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
8686
8787
- name: Setup compiler cache
88-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
88+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
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
@@ -150,7 +150,7 @@ jobs:
150150
&& (github.repository == 'scipy/scipy' || github.repository == '')
151151
runs-on: ubuntu-22.04
152152
steps:
153-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
153+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
154154
with:
155155
submodules: recursive
156156

@@ -209,7 +209,7 @@ jobs:
209209
&& (github.repository == 'scipy/scipy' || github.repository == '')
210210
runs-on: ubuntu-22.04 # provides python3.10-dbg
211211
steps:
212-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
212+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
213213
with:
214214
submodules: recursive
215215
- name: Configuring Test Environment
@@ -239,12 +239,12 @@ jobs:
239239
&& (github.repository == 'scipy/scipy' || github.repository == '')
240240
runs-on: ubuntu-22.04
241241
steps:
242-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
242+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
243243
with:
244244
submodules: recursive
245245

246246
- name: Setup Python
247-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
247+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
248248
with:
249249
python-version: "3.10"
250250

@@ -297,12 +297,12 @@ jobs:
297297
python-version: ['3.10', '3.11']
298298

299299
steps:
300-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
300+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
301301
with:
302302
submodules: recursive
303303

304304
- name: Setup Python
305-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
305+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
306306
with:
307307
python-version: ${{ matrix.python-version }}
308308

@@ -312,7 +312,7 @@ jobs:
312312
sudo apt-get install -y libgmp-dev libmpfr-dev libmpc-dev ccache gfortran
313313
314314
- name: Caching Python dependencies
315-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
315+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
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@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
339+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
340340
id: cache-ccache
341341
with:
342342
path: ${{ steps.prep-ccache.outputs.dir }}
@@ -375,7 +375,7 @@ jobs:
375375
# entries. Unfortunately at this time options: does not seem to listen to
376376
# --platform linux/i386.
377377
steps:
378-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
378+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
379379
with:
380380
submodules: recursive
381381

@@ -415,7 +415,7 @@ jobs:
415415
&& (github.repository == 'scipy/scipy' || github.repository == '')
416416
runs-on: ubuntu-22.04
417417
steps:
418-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
418+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
419419
with:
420420
submodules: recursive
421421

@@ -455,12 +455,12 @@ jobs:
455455
needs.get_commit_message.outputs.message == 1
456456
&& (github.repository == 'scipy/scipy' || github.repository == '')
457457
steps:
458-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
458+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
459459
with:
460460
submodules: recursive
461461
fetch-tags: true
462462
# TODO: replace with setup-python when there is support
463-
- uses: Quansight-Labs/setup-python@b9ab292c751a42bcd2bb465b7fa202ea2c3f5796 # v5.3.1
463+
- uses: Quansight-Labs/setup-python@b9ab292c751a42bcd2bb465b7fa202ea2c3f5796 # v5.3.1
464464
with:
465465
python-version: '3.13t'
466466

@@ -505,12 +505,12 @@ jobs:
505505
&& (github.repository == 'scipy/scipy' || github.repository == '')
506506
runs-on: ubuntu-22.04
507507
steps:
508-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
508+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
509509
with:
510510
submodules: recursive
511511

512512
- name: Setup Python
513-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
513+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
514514
with:
515515
python-version: "3.12"
516516

.github/workflows/linux_intel_oneAPI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ jobs:
4343

4444
steps:
4545
- name: Checkout
46-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
46+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4747
with:
4848
submodules: recursive
4949

5050
- name: Setup Conda
51-
uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
51+
uses: conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0
5252
with:
5353
python-version: ${{ matrix.python-version }}
5454
channels: conda-forge
@@ -65,7 +65,7 @@ jobs:
6565
6666
- name: cache install
6767
id: cache-install
68-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
68+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
6969
with:
7070
path: |
7171
/opt/intel/oneapi/

.github/workflows/macos.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
python-version: ["3.11"]
4040

4141
steps:
42-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
42+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4343
with:
4444
submodules: recursive
4545

@@ -57,7 +57,7 @@ jobs:
5757
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
5858
5959
- name: Setup compiler cache
60-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
60+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
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
@@ -75,7 +75,7 @@ jobs:
7575
${{ github.workflow }}-${{ matrix.python-version }}-ccache-macos-
7676
7777
- name: Setup Conda
78-
uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
78+
uses: conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0
7979
with:
8080
python-version: ${{ matrix.python-version }}
8181
channels: conda-forge
@@ -92,7 +92,7 @@ jobs:
9292
shell: bash
9393

9494
- name: Cache conda
95-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
95+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
9696
env:
9797
# Increase this value to reset cache if environment.yml has not changed
9898
CACHE_NUMBER: 1
@@ -151,12 +151,12 @@ jobs:
151151
python-version: ["3.11"]
152152

153153
steps:
154-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
154+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
155155
with:
156156
submodules: recursive
157157

158158
- name: Setup Python
159-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
159+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
160160
with:
161161
python-version: ${{ matrix.python-version }}
162162
cache: 'pip'
@@ -196,12 +196,12 @@ jobs:
196196
python-version: ["3.11"]
197197

198198
steps:
199-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
199+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
200200
with:
201201
submodules: recursive
202202

203203
- name: Setup Python
204-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
204+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
205205
with:
206206
python-version: ${{ matrix.python-version }}
207207
cache: 'pip'

.github/workflows/wheels.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
message: ${{ steps.commit_message.outputs.message }}
4343
steps:
4444
- name: Checkout scipy
45-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
45+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4646
# Gets the correct commit message for pull request
4747
with:
4848
ref: ${{ github.event.pull_request.head.sha }}
@@ -98,11 +98,11 @@ jobs:
9898

9999
steps:
100100
- name: Checkout scipy
101-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
101+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
102102
with:
103103
submodules: true
104104

105-
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
105+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
106106
with:
107107
python-version: 3.11
108108

@@ -226,14 +226,14 @@ jobs:
226226
mv ./wheelhouse/*.whl $(find ./wheelhouse -type f -name '*.whl' | sed 's/13_0/14_0/')
227227
fi
228228
229-
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
229+
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
230230
with:
231231
path: ./wheelhouse/*.whl
232232
name: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
233233
${{ matrix.buildplat[2] }} ${{ matrix.buildplat[3] }}
234234
${{ matrix.buildplat[4] }}
235235

236-
- uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
236+
- uses: conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0
237237
with:
238238
# for installation of anaconda-client, required for upload to
239239
# anaconda.org

.github/workflows/windows.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
runs-on: windows-2019
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
35+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3636
with:
3737
submodules: recursive
3838
- name: Setup Python
39-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
39+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
4040
with:
4141
python-version: '3.12'
4242
architecture: 'x64'
@@ -73,11 +73,11 @@ jobs:
7373
runs-on: windows-2019
7474
steps:
7575
- name: Checkout
76-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
76+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7777
with:
7878
submodules: recursive
7979
- name: Setup Python
80-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
80+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
8181
with:
8282
python-version: '3.10'
8383
cache: 'pip'
@@ -117,11 +117,11 @@ jobs:
117117
runs-on: windows-2019
118118
steps:
119119
- name: Checkout
120-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
120+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
121121
with:
122122
submodules: recursive
123123
- name: Setup Python
124-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
124+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
125125
with:
126126
python-version: '3.11'
127127
cache: 'pip'

.github/workflows/windows_intel_oneAPI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ jobs:
4343
shell: powershell
4444
steps:
4545
- name: Checkout
46-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
46+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4747
with:
4848
submodules: recursive
4949

5050
- name: Setup Conda
51-
uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4
51+
uses: conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0
5252
with:
5353
python-version: 3.11
5454
channels: conda-forge
@@ -69,7 +69,7 @@ jobs:
6969
7070
- name: cache install
7171
id: cache-install
72-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
72+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
7373
with:
7474
path: |
7575
C:\Program Files (x86)\Intel\oneAPI\compiler

0 commit comments

Comments
 (0)