Skip to content

Commit 046a271

Browse files
authored
workflows: use python-version-file (#22)
Signed-off-by: William Woodruff <[email protected]>
1 parent 3e2438a commit 046a271

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

{{cookiecutter.project_slug}}/.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v3
1313

14-
- uses: actions/setup-python@v4
14+
- uses: actions/setup-python@v5
1515
with:
16-
python-version: "3.x"
16+
python-version-file: pyproject.toml
1717
cache: "pip"
1818
cache-dependency-path: pyproject.toml
1919

{{cookiecutter.project_slug}}/.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414

15-
- uses: actions/setup-python@v4
15+
- uses: actions/setup-python@v5
1616
with:
17-
python-version: "3.8"
17+
python-version-file: pyproject.toml
1818
cache: "pip"
1919
cache-dependency-path: pyproject.toml
2020

{{cookiecutter.project_slug}}/.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v3
2222

23-
- uses: actions/setup-python@v4
23+
- uses: actions/setup-python@v5
2424
with:
25-
python-version: ">= 3.8"
25+
python-version-file: pyproject.toml
2626
cache: "pip"
2727
cache-dependency-path: pyproject.toml
2828

0 commit comments

Comments
 (0)