citizensadvice/Setup python with poetry environment

Set up an Actions job for Python and Poetry

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 2, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: citizensadvice/python-poetry-setup-action@a1b420d0c061560845532d7d1f80a81c8f39b6a5 # v3

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

namedescriptionrequireddefault
python_versionThe Python version to install. Defaults to the version stated in the pyproject.toml file.no""
project_rootThe location of the python project root. Defaults to the root of the projectno.
install_cdkInstall the AWS CDK. Defaults to falseno""
node_versionThe version of Node.js to installno24
cache_venvCache the .venv directory for use with later workflow runs. Defaults to truenotrue
codeartifact_loginLog in to CodeArtifact. Defaults to falseno""
codeartifact_sourceCodeArtifact source. Defaults to code-artifactnocode-artifact

no outputs