Skip to content

Commit fb6eeb9

Browse files
authored
Update python set up step in workflows to use latest python version (#475)
1 parent fdc4024 commit fb6eeb9

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/dependency_checker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11-
- name: Set up Python 3.9
11+
- name: Set up latest Python
1212
uses: actions/setup-python@v5
1313
with:
14-
python-version: 3.9
14+
python-version-file: 'pyproject.toml'
1515
- name: Install dependencies
1616
run: |
1717
python -m pip install .[dev]

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Set up Python 3.9
13+
- name: Set up latest Python
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: 3.9
16+
python-version-file: 'pyproject.toml'
1717
- name: Build
1818
run: |
1919
sudo apt-get install pandoc

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17-
- name: Set up Python 3.9
17+
- name: Set up latest Python
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: 3.9
20+
python-version-file: 'pyproject.toml'
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip

.github/workflows/prepare_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
22-
- name: Set up Python 3.10
22+
- name: Set up latest Python
2323
uses: actions/setup-python@v5
2424
with:
25-
python-version: '3.10'
25+
python-version-file: 'pyproject.toml'
2626

2727
- name: Install dependencies
2828
run: |

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
with:
2525
ref: ${{ inputs.candidate && 'main' || 'stable' }}
2626

27-
- name: Set up Python
27+
- name: Set up latest Python
2828
uses: actions/setup-python@v5
2929
with:
30-
python-version: '3.13'
30+
python-version-file: 'pyproject.toml'
3131

3232
- name: Install dependencies
3333
run: |

0 commit comments

Comments
 (0)