Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
24 lines
537 B
YAML
24 lines
537 B
YAML
name: 'Python Dependencies'
|
|
inputs:
|
|
python-version:
|
|
description: 'Python version'
|
|
default: '3.13'
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v10.0.1
|
|
with:
|
|
python-version: ${{ inputs.python-version }}
|
|
enable-cache: true
|
|
cache-dependency-glob: pyproject.toml
|
|
|
|
- name: Install Python dependencies
|
|
shell: bash
|
|
run: |
|
|
uv sync
|
|
echo "VIRTUAL_ENV=$PWD/.venv" >> "$GITHUB_ENV"
|
|
echo "$PWD/.venv/bin" >> "$GITHUB_PATH"
|