name: 'Setup Python + Poetry environment' description: 'Setup Python + Poetry environment' inputs: python-version: required: false description: 'Python version' default: '3.9' outputs: {} runs: using: 'composite' steps: - uses: actions/setup-python@v2 with: python-version: ${{inputs.python-version}} - name: Install poetry run: python -m pip install poetry shell: bash - name: Create virtual environment run: poetry install shell: bash