Skip to content

Commit 25567e8

Browse files
authored
Merge pull request #136 from per1234/pyproject_toml-versioning
Use `pyproject.toml` as Python version source
2 parents 1fb6698 + 415266a commit 25567e8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/check-yaml-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
- name: Install Python
102102
uses: actions/setup-python@v5
103103
with:
104-
python-version: ${{ env.PYTHON_VERSION }}
104+
python-version-file: pyproject.toml
105105

106106
- name: Install Poetry
107107
run: pip install poetry

.github/workflows/spell-check-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Install Python
5656
uses: actions/setup-python@v5
5757
with:
58-
python-version: ${{ env.PYTHON_VERSION }}
58+
python-version-file: pyproject.toml
5959

6060
- name: Install Poetry
6161
run: pip install poetry

poetry.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = ""
55
authors = []
66

77
[tool.poetry.dependencies]
8-
python = "^3.9"
8+
python = "~3.9"
99

1010
[tool.poetry.dev-dependencies]
1111
yamllint = "^1.36.0"

0 commit comments

Comments
 (0)