finleyfamily/Setup Python and Poetry

Setup a specific version of Python & Poetry with virtual environment caching.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
architectureThe target architecture (x86, x64) of the Python interpreter.
poetry-checkWhether validate the content of the `pyproject.toml` file and its consistency with the `poetry.lock` file.nofalse
poetry-check-cmdThe poetry command to run when checking the lock file (e.g. `check`). This command was changed in poetry 1.6 (default used by this action). To support older versions of poetry, provide a value for this input. nocheck --ansi
poetry-installWhether to run `poetry install`.notrue
poetry-install-argsAdditional args to pass to `poetry install`.no--ansi -v --sync
poetry-install-cmdCommand for installing poetry project. Can be used to provide a custom install command. The value of `poetry-install-args` is appended after this. nopoetry install
poetry-pluginsA whitespace seperated list of poetry plugins to be installed (e.g. `plugin0 plugin1`). Note that [poetry-plugin-export](https://github.com/python-poetry/poetry-plugin-export) is installed by default and can be left out of this list. no
poetry-previewAllow install of prerelease versions of Poetry.nofalse
poetry-versionPoetry version to use. If version is not provided then latest stable version will be used. Should be provided as a version specifier that can be passed to [pipx](https://github.com/pypa/pipx) or `latest`. nolatest
python-versionVersion range or exact version of a Python version to use, using semver version range syntax. Reads from pyproject.toml if unset.no${{ null }}
python-version-fileFile containing the Python version to use.nopyproject.toml
tokenUsed to pull python distributions from actions/python-versions. Since there's a default, this is typically not supplied by the user.${{ github.token }}
namedescription
cache-hitWhether there was a cache hit for the Python virtual environment.
python-pathThe absolute path to the Python or PyPy executable.
python-versionThe installed Python version. Useful when given a version range as input.