Skip to content

Commit 76e2a5b

Browse files
ci(github): use pyproject.toml for python version
1 parent a917203 commit 76e2a5b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/setup-python@v6
1616
with:
1717
cache: pip
18-
python-version: 3
18+
python-version-file: pyproject.toml
1919

2020
- name: Install dependencies
2121
run: pip install -e .[docs]

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/setup-python@v6
1616
with:
1717
cache: pip
18-
python-version: 3
18+
python-version-file: pyproject.toml
1919

2020
- name: Install dependencies
2121
run: pip install -e .[lint]

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Use Python
4040
uses: actions/setup-python@v6
4141
with:
42-
python-version: 3
42+
python-version-file: pyproject.toml
4343

4444
- name: Install dependencies
4545
run: python -m pip install build

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/setup-python@v6
1616
with:
1717
cache: pip
18-
python-version: 3
18+
python-version-file: pyproject.toml
1919

2020
- name: Install dependencies
2121
run: pip install -e .[test]

0 commit comments

Comments
 (0)