Skip to content

Update lint and test Github workflows; add Python 3.13 and 3.14 tests #44

Update lint and test Github workflows; add Python 3.13 and 3.14 tests

Update lint and test Github workflows; add Python 3.13 and 3.14 tests #44

Workflow file for this run

name: Lint
permissions:
contents: read
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Lint and Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.14"
- name: Install dependencies
run: |
uv sync
uv add ruff mypy pytest
- name: Run ruff check
run: uv run ruff check src/ tests/
- name: Run ruff format check
run: uv run ruff format --check src/ tests/
- name: Run mypy
run: uv run mypy src/