type.yml -> ty check src/

This commit is contained in:
jdegenstein 2025-12-17 09:31:30 -06:00 committed by GitHub
parent 351ad91662
commit a7a86aaf46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

28
.github/workflows/type.yml vendored Normal file
View file

@ -0,0 +1,28 @@
name: Run ty type checker
on: [push, pull_request]
jobs:
typecheck:
strategy:
fail-fast: false
matrix:
python-version: [
"3.10",
# "3.11",
# "3.12",
"3.13",
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
python-version: ${{ matrix.python-version }}
optional-dependencies: "development,stubs"
- name: Typecheck
run: |
uv tool install ty@latest
ty check src/