Setup Python GitHub Action Setup Python environment and cache the virtual environment. Dependencies manager Pipenv or Poetry can be used. Projects using Poetry must specify version in .tool-versions.