Files
FindMy.py/.github/actions/setup-project/action.yml
2025-02-27 22:03:45 +01:00

26 lines
523 B
YAML

name: Common Python + UV Setup
inputs:
python-version:
description: 'The Python version to install'
required: false
runs:
using: 'composite'
steps:
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
- name: Set up Python
if: ${{ inputs.python-version != '' }}
shell: bash
run: uv python install
- name: Install dependencies
shell: bash
run: uv sync --all-extras --dev