Skip to content

Commit 01aeaf2

Browse files
committed
chore(ci): use a common python version in the codspeed job
1 parent 4e79f7e commit 01aeaf2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/codspeed.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches: [master]
77
workflow_dispatch:
88

9+
env:
10+
PYTHON_VERSION: "3.12"
11+
912
jobs:
1013
build:
1114
name: Build wheel
@@ -15,7 +18,7 @@ jobs:
1518
- uses: astral-sh/setup-uv@v4
1619
- uses: actions/setup-python@v5
1720
with:
18-
python-version: "3.12"
21+
python-version: ${{ env.PYTHON_VERSION }}
1922
- name: Install valgrind
2023
run: sudo apt-get install valgrind -y
2124
- name: Build the wheel
@@ -35,7 +38,7 @@ jobs:
3538
submodules: "recursive"
3639
- uses: actions/setup-python@v2
3740
with:
38-
python-version: "3.12"
41+
python-version: ${{ env.PYTHON_VERSION }}
3942
- uses: actions/download-artifact@v4
4043
with:
4144
name: wheel

0 commit comments

Comments
 (0)