| 1 | name: 'Setup Python + Poetry environment' |
| 2 | description: 'Setup Python + Poetry environment' |
| 3 | |
| 4 | inputs: |
| 5 | python-version: |
| 6 | required: false |
| 7 | description: 'Python version' |
| 8 | default: '3.12' |
| 9 | outputs: {} |
| 10 | runs: |
| 11 | using: 'composite' |
| 12 | steps: |
| 13 | - uses: actions/setup-python@v6 |
| 14 | with: |
| 15 | python-version: ${{inputs.python-version}} |
| 16 | - name: Install poetry |
| 17 | run: python -m pip install poetry |
| 18 | shell: bash |
| 19 | - name: Create virtual environment |
| 20 | run: poetry install |
| 21 | shell: bash |