Skip to content

CI: Add mypy checks

CI: Add mypy checks #9

Workflow file for this run

name: Check MR
on: [pull_request]
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pkgxdev/setup@v1
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Allow uv to use the system Python by default
run: echo "UV_SYSTEM_PYTHON=1" >> $GITHUB_ENV
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Install the project
run: uv sync --all-extras --dev
- run: . .venv/bin/activate
- run: pkgx +task task check:mypy