Skip to content

feat: make API pass type checking with ty #52

feat: make API pass type checking with ty

feat: make API pass type checking with ty #52

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch: {}
jobs:
uv-example:
name: python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version-file: "pyproject.toml"
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Format
run: uv run ruff format --exit-non-zero-on-format
- name: Lint
run: uv run ruff check .
- name: Type Checking
run: uv run ty check
# - name: Run tests
# run: uv run pytest tests
- name: Minimize uv cache
run: uv cache prune --ci