mirror of
https://github.com/malmeloo/FindMy.py.git
synced 2026-04-17 21:53:57 +02:00
26 lines
530 B
YAML
26 lines
530 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@v7
|
|
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 --all-groups
|