nonebot2/.github/actions/setup-python/action.yml
2023-03-07 11:33:13 +08:00

25 lines
470 B
YAML

name: Setup Python
description: Setup Python
inputs:
python-version:
description: Python version
required: false
default: "3.10"
runs:
using: "composite"
steps:
- name: Install poetry
run: pipx install poetry==1.3.2
shell: bash
- uses: actions/setup-python@v4
with:
python-version: ${{ inputs.python-version }}
architecture: "x64"
cache: "poetry"
- run: poetry install -E all
shell: bash