Skip to content

chore: replace mypy with ty for type checking #1

chore: replace mypy with ty for type checking

chore: replace mypy with ty for type checking #1

Workflow file for this run

---
name: Type check
on: # yamllint disable-line rule:truthy
workflow_dispatch:
push:
branches:
- master
- v*
pull_request:
branches:
- master
- v*
# ty runs here rather than on pre-commit.ci, which blocks the network access ty
# needs to resolve this project's dependencies.
jobs:
ty:
name: ty
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v7
- name: Install uv
uses: astral-sh/setup-uv@v9
with:
enable-cache: true
python-version: '3.11'
- name: Run ty
run: uv run --frozen ty check