Skip to content

Commit 2163f07

Browse files
authored
Bump CI actions (Node 24) and Python test deps (pytest-codspeed v5) (#103)
1 parent d2951ed commit 2163f07

6 files changed

Lines changed: 75 additions & 149 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121

2222
steps:
2323
- name: Checkout repository.
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v6
2525

2626
- name: Install UV.
27-
uses: astral-sh/setup-uv@v6
27+
uses: astral-sh/setup-uv@v8.1.0
2828

2929
- name: Install dependencies.
3030
run: uv sync --group testing
@@ -38,7 +38,7 @@ jobs:
3838
run: uv run pytest . -m benchmark_main --benchmark-enable --benchmark-json=output.json
3939

4040
- name: Download previous benchmark data.
41-
uses: actions/cache@v4
41+
uses: actions/cache@v5
4242
with:
4343
path: ./benchmark-data
4444
key: benchmark-${{ github.base_ref || github.ref_name }}

.github/workflows/codspeed.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
benchmarks:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
23-
- uses: actions/setup-python@v5 # required for correct CodSpeed integration
22+
- uses: actions/checkout@v6
23+
- uses: actions/setup-python@v6 # required for correct CodSpeed integration
2424
with:
2525
python-version: ${{ env.UV_PYTHON }}
2626

2727
- name: Install UV.
28-
uses: astral-sh/setup-uv@v6
28+
uses: astral-sh/setup-uv@v8.1.0
2929
with:
3030
enable-cache: true
3131

.github/workflows/release.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
interpreter: pypy3.11
4343
- os: macos
4444
target: aarch64
45-
# actions/setup-python@v5 does not support 3.8 and 3.9 on arm64
45+
# actions/setup-python@v6 does not support 3.8 and 3.9 on arm64
4646
interpreter: 3.8 3.9 pypy3.11
4747

4848
- os: ubuntu
@@ -75,8 +75,8 @@ jobs:
7575

7676
runs-on: ${{ matrix.os }}-latest
7777
steps:
78-
- uses: actions/checkout@v4
79-
- uses: actions/setup-python@v5
78+
- uses: actions/checkout@v6
79+
- uses: actions/setup-python@v6
8080
with:
8181
python-version: '3.11'
8282
architecture: ${{ matrix.python-architecture || 'x64' }}
@@ -101,7 +101,7 @@ jobs:
101101
run: ${{ (runner.os == 'Windows' && 'dir') || 'ls -lh' }} dist/
102102

103103
- name: Upload wheels
104-
uses: actions/upload-artifact@v4
104+
uses: actions/upload-artifact@v7
105105
with:
106106
name: pypi_wheels_${{ matrix.os }}_${{ matrix.target }}_${{ matrix.interpreter || 'all' }}_${{ matrix.manylinux }}
107107
path: dist
@@ -114,7 +114,7 @@ jobs:
114114
os: [ ubuntu-latest, windows-latest, macos-13, macos-14 ]
115115
interpreter: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
116116
exclude:
117-
# actions/setup-python@v5 does not support 3.8 and 3.9 on arm64
117+
# actions/setup-python@v6 does not support 3.8 and 3.9 on arm64
118118
- os: macos-14
119119
interpreter: '3.8'
120120
- os: macos-14
@@ -129,14 +129,14 @@ jobs:
129129
git config --global core.eol lf
130130
131131
- name: Checkout repository.
132-
uses: actions/checkout@v4
132+
uses: actions/checkout@v6
133133

134-
- uses: actions/setup-python@v5 # required for macos-13 with Python 3.8-3.10... otherwise UV uses PyPy...
134+
- uses: actions/setup-python@v6 # required for macos-13 with Python 3.8-3.10... otherwise UV uses PyPy...
135135
with:
136136
python-version: ${{ matrix.interpreter }}
137137

138138
- name: Install UV.
139-
uses: astral-sh/setup-uv@v6
139+
uses: astral-sh/setup-uv@v8.1.0
140140
with:
141141
python-version: ${{ matrix.interpreter }}
142142

@@ -188,22 +188,22 @@ jobs:
188188
run: ${{ (runner.os == 'Windows' && 'dir') || 'ls -lh' }} dist/
189189

190190
- name: Upload wheels.
191-
uses: actions/upload-artifact@v4
191+
uses: actions/upload-artifact@v7
192192
with:
193193
name: pypi_pgo_wheels_${{ matrix.os }}_${{ matrix.interpreter }}
194194
path: dist
195195

196196
build-sdist:
197197
runs-on: ubuntu-latest
198198
steps:
199-
- uses: actions/checkout@v4
199+
- uses: actions/checkout@v6
200200
- name: Build sdist.
201201
uses: PyO3/maturin-action@v1
202202
with:
203203
command: sdist
204204
args: --out dist
205205
- name: Upload sdist.
206-
uses: actions/upload-artifact@v4
206+
uses: actions/upload-artifact@v7
207207
with:
208208
name: pypi_sdist
209209
path: dist
@@ -213,13 +213,13 @@ jobs:
213213
runs-on: ubuntu-latest
214214

215215
steps:
216-
- uses: actions/checkout@v4
217-
- uses: actions/setup-python@v5
216+
- uses: actions/checkout@v6
217+
- uses: actions/setup-python@v6
218218
with:
219219
python-version: '3.14'
220220

221221
- name: Get dist artifacts.
222-
uses: actions/download-artifact@v4
222+
uses: actions/download-artifact@v8
223223
with:
224224
pattern: pypi_*
225225
merge-multiple: true
@@ -242,7 +242,7 @@ jobs:
242242
if: "startsWith(github.ref, 'refs/tags/')"
243243
needs: [ build, build-pgo, build-sdist, check ]
244244
steps:
245-
- uses: actions/download-artifact@v4
245+
- uses: actions/download-artifact@v8
246246
with:
247247
pattern: pypi_*
248248
merge-multiple: true

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515

1616
steps:
1717
- name: Checkout repository.
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919

2020
- name: Install UV.
21-
uses: astral-sh/setup-uv@v6
21+
uses: astral-sh/setup-uv@v8.1.0
2222

2323
- name: Install dependencies.
2424
run: uv sync --group testing
@@ -32,7 +32,7 @@ jobs:
3232
run: uv run pytest
3333

3434
- name: Checkout dasl-testing.
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v6
3636
with:
3737
repository: hyphacoop/dasl-testing
3838
path: dasl-testing

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ dev = ["maturin>=1.8.7,<2.0"]
4343
testing = [
4444
{ include-group = "dev" },
4545
'pytest==8.3.5; python_version == "3.8"',
46-
'pytest==8.4.1; python_version >= "3.9"',
46+
'pytest==8.4.2; python_version >= "3.9"',
4747
'pytest-benchmark==4.0.0; python_version == "3.8"',
48-
'pytest-benchmark==5.1.0; python_version >= "3.9"',
48+
'pytest-benchmark==5.2.3; python_version >= "3.9"',
4949
'pytest-xdist==3.6.1; python_version == "3.8"',
5050
'pytest-xdist==3.8.0; python_version >= "3.9"',
5151
]
5252
codspeed = [
5353
# only run on CI with the latest Python version
54-
'pytest-codspeed==4.2.0; python_version == "3.14" and implementation_name == "cpython"',
54+
'pytest-codspeed==5.0.3; python_version == "3.14" and implementation_name == "cpython"',
5555
]
5656

5757
all = [

0 commit comments

Comments
 (0)