You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
506 B
YAML
22 lines
506 B
YAML
2 years ago
|
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
|