1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
name: 'SPPE'
description: 'Setup python and poetry environment'
inputs:
python-version:
description: 'Python version to use'
required: true
default: 3.8
poetry-version:
description: 'Poetry version to use'
required: true
default: 1.2.2
runs:
using: "composite"
steps:
- name: Setup Python (${{ inputs.python-version}})
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ inputs.python-version }}
- name: Setup Poetry (${{ inputs.poetry-version }})
uses: abatilo/actions-poetry@v3
with:
poetry-version: ${{ inputs.poetry-version }}
- name: Poetry install
run: poetry install
shell: bash
|