5yutan5/Setup Poetry environment

This action allows setup Python/Poetry, installing dependencies, and caching dependencies and Poetry installation all at once.

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 13, 2026
Maintenance Recency
Stalelast commit Mar 29, 2023
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: 5yutan5/setup-poetry-env@d6b649f0c6e21425e94146fd44b69332bf2eeb5b # v1.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
cache-dependenciesWhether to cache installed dependencies.true
additional-dependency-cache-keyAdditional dependency cache key.
poetry-versionThe Poetry version to install.1.4.1
poetry-install-dependencies'Whether Poetry should install dependencies after completing all setup.' true
tokenWrapper around `token` input of actions/setup-python.${{ github.server_url == 'https://github.com' && github.token || '' }}
python-architectureWrapper around `architecture` input of actions/setup-python.
python-cache-dependency-path'Wrapper around `cache-dependency-path` input of actions/setup-python.'
python-check-latestWrapper around `check-latest` input of actions/setup-python.false
python-update-environment'Wrapper around `update-environment` input of actions/setup-python.' true
python-versionWrapper around `version` input of actions/setup-python.
python-version-fileWrapper around `version-file` input of actions/setup-python.
poetry-cache-dirWrapper around Poetry setting `cache-dir`
poetry-installer-max-workersWrapper around Poetry setting `installer.max-workers`.
poetry-installer-parallelWrapper around Poetry setting `installer.parallel`.
poetry-pypi-tokenWrapper around Poetry setting `pypi-token`.
poetry-virtualenvs-createWrapper around Poetry setting `virtualenvs.create`.
poetry-virtualenvs-in-projectWrapper around Poetry setting `virtualenvs.in-project`.
poetry-virtualenvs-pathWrapper around Poetry setting `virtualenvs-path`.
poetry-install-additional-argsArguments passed directly to the `poetry install` command.
poetry-install--all-extrasWhether use `--all-extras` option to `poetry install`.
poetry-install--extrasWrapper around argument of `poetry install --extras`.
poetry-install--no-rootWhether use `--no-root` option to `poetry install`.
poetry-install--onlyWrapper around argument of `poetry install --only`.
poetry-install--only-rootWhether use `--only-root` option to `poetry install`.
poetry-install--withWrapper around argument of `poetry install --with`.
poetry-install--withoutWrapper around argument of `poetry install --without`.
namedescription
poetry-cache-hit'A boolean value to indicate a cache entry of poetry installation was found'
cache-hitWrapper around `cache-hit` output of actions/setup-python.
python-pathWrapper around `python-path` output of actions/setup-python.
python-version'Wrapper around `python-version` output of actions/setup-python.'