Skip to content

feat: update README with additional badges #7

feat: update README with additional badges

feat: update README with additional badges #7

Workflow file for this run

name: Setup Python Environment

Check failure on line 1 in .github/workflows/setup-python.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/setup-python.yml

Invalid workflow file

(Line: 19, Col: 16): Unrecognized named-value: 'steps'. Located at position 1 within expression: steps.setup-python.outputs.python-version
on:
workflow_call:
inputs:
python-version:
description: 'Python version to use'
required: false
default: '3.13'
type: string
cache-key:
description: 'Cache key for dependencies'
required: false
default: 'venv'
type: string
outputs:
python-version:
description: 'The Python version that was set up'
value: ${{ steps.setup-python.outputs.python-version }}
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ inputs.python-version }}
id: setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: ${{ env.UV_VERSION }}
- name: Cache dependencies
uses: actions/cache@v4
with:
path: .venv
key: ${{ runner.os }}-${{ inputs.cache-key }}-venv-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-${{ inputs.cache-key }}-venv-
- name: Install dependencies
run: |
uv sync --group dev