actions-marketplace-validations/Setup poetry and python

Setup python, install poetry, install dependencies, cache.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
python-versionThe version of python to use (passed into `actions/setup-python` action).yes
poetry-versionPoetry version to use (passed to the official poetry install script). Leave blank for latest.yes""
install-argsA string placed after the `poetry install` command, which can contain extra options.yes""
working-dirThe directory to run the `poetry` commands in. By default, this will just be the root directory of the project.yes.
cache-poetry-installEnable caching for poetry tool itself (not related to caching of the project's poetry dependencies).yestrue
cache-poetry-environmentEnable caching for poetry environments (venvs that contain the project's poetry dependencies).yestrue
poetry-homeDirectory to install the poetry tool into. (passed into the official poetry installer as `POETRY_HOME` env variable).yes~/.local/share/pypoetry
namedescription
poetry-versionThe version of poetry installed
poetry-venv-pathPath to the virtual environment created by poetry for the project.
python-versionThe python version used (forwarded from `actions/setup-python` action).
python-pathPath to the python interpreter (forwarded from `actions/setup-python` action).
cache-hit-poetry-installThe was a cache hit for the poetry tool (installation) cache.
cache-hit-poetry-environmentThere was a cache hit for the poetry environment (dependencies) cache.