Since Poetry has Python version defined in pyproject.toml
[tool.poetry.dependencies]
python = "3.11.x"
It would be great to support reading Python version from Poetry pyproject.toml.
Something like
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version-file: path/to/pyproject.toml
FYI, today actions/setup-go supports similar way like this:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: path/to/go.mod
(Inside go.mod, it has Go version defined)
Thanks! 😃
Since Poetry has Python version defined in
pyproject.tomlIt would be great to support reading Python version from Poetry
pyproject.toml.Something like
FYI, today actions/setup-go supports similar way like this:
(Inside go.mod, it has Go version defined)
Thanks! 😃