Skip to content

Commit c1e742a

Browse files
committed
CI: update checkout and setup-python actions
motivated because Node.js 20 is deprecated, https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ and CI jobs had warnings: > The following actions target Node.js 20 but are being forced to run on Node.js 24
1 parent 71d4b32 commit c1e742a

6 files changed

Lines changed: 18 additions & 18 deletions

File tree

‎.github/workflows/control-slycot-src.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ jobs:
88

99
steps:
1010
- name: Checkout python-control
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v7
1212
with:
1313
path: python-control
1414
- name: Set up Python
15-
uses: actions/setup-python@v4
15+
uses: actions/setup-python@v7
1616
with:
1717
python-version: '3.12'
1818
- name: Install Python dependencies and test tools
1919
run: pip install -v './python-control[test]'
2020

2121
- name: Checkout Slycot
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v7
2323
with:
2424
repository: python-control/Slycot
2525
submodules: recursive

‎.github/workflows/doctest.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- name: Checkout python-control
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v7
1414

1515
- name: Setup Conda
1616
uses: conda-incubator/setup-miniconda@v3

‎.github/workflows/install_examples.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Check out the python-control sources
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v7
1212

1313
- name: Setup Conda
1414
uses: conda-incubator/setup-miniconda@v3

‎.github/workflows/os-blas-test-matrix.yml‎

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

4444
steps:
4545
- name: Set up Python
46-
uses: actions/setup-python@v4
46+
uses: actions/setup-python@v7
4747
with:
4848
python-version: ${{ matrix.python }}
4949
- name: Checkout Slycot
50-
uses: actions/checkout@v3
50+
uses: actions/checkout@v7
5151
with:
5252
repository: python-control/Slycot
5353
fetch-depth: 0
@@ -113,7 +113,7 @@ jobs:
113113

114114
steps:
115115
- name: Checkout Slycot
116-
uses: actions/checkout@v3
116+
uses: actions/checkout@v7
117117
with:
118118
repository: python-control/Slycot
119119
fetch-depth: 0
@@ -163,7 +163,7 @@ jobs:
163163
name: slycot-wheels
164164
pattern: slycot-wheels-*
165165
- name: Checkout python-control
166-
uses: actions/checkout@v3
166+
uses: actions/checkout@v7
167167
- name: Download wheels (if any)
168168
uses: actions/download-artifact@v4
169169
with:
@@ -190,7 +190,7 @@ jobs:
190190
name: slycot-conda-pkgs
191191
pattern: slycot-conda-pkgs-*
192192
- name: Checkout python-control
193-
uses: actions/checkout@v3
193+
uses: actions/checkout@v7
194194
- name: Download conda packages
195195
uses: actions/download-artifact@v4
196196
with:
@@ -215,14 +215,14 @@ jobs:
215215

216216
steps:
217217
- name: Checkout Slycot
218-
uses: actions/checkout@v3
218+
uses: actions/checkout@v7
219219
with:
220220
repository: 'python-control/Slycot'
221221
path: slycot-src
222222
- name: Checkout python-control
223-
uses: actions/checkout@v3
223+
uses: actions/checkout@v7
224224
- name: Setup Python
225-
uses: actions/setup-python@v4
225+
uses: actions/setup-python@v7
226226
with:
227227
python-version: ${{ matrix.python }}
228228
- name: Setup Ubuntu
@@ -287,12 +287,12 @@ jobs:
287287

288288
steps:
289289
- name: Checkout Slycot
290-
uses: actions/checkout@v3
290+
uses: actions/checkout@v7
291291
with:
292292
repository: 'python-control/Slycot'
293293
path: slycot-src
294294
- name: Checkout python-control
295-
uses: actions/checkout@v3
295+
uses: actions/checkout@v7
296296
- name: Setup macOS
297297
if: matrix.os == 'macos'
298298
run: brew install coreutils

‎.github/workflows/python-package-conda.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
mplbackend: QtAgg
3030

3131
steps:
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v7
3333

3434
- name: Setup Conda
3535
uses: conda-incubator/setup-miniconda@v3

‎.github/workflows/ruff-check.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212

1313
steps:
1414
- name: Checkout python-control
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v7
1616

1717
- name: Setup environment
18-
uses: actions/setup-python@v4
18+
uses: actions/setup-python@v7
1919
with:
2020
python-version: 3.13 # todo: latest?
2121

0 commit comments

Comments
 (0)