From a7a86aaf463545e3993bd635ba3fb2fe66f4498c Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Wed, 17 Dec 2025 09:31:30 -0600 Subject: [PATCH] type.yml -> ty check src/ --- .github/workflows/type.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/type.yml diff --git a/.github/workflows/type.yml b/.github/workflows/type.yml new file mode 100644 index 0000000..4762fa1 --- /dev/null +++ b/.github/workflows/type.yml @@ -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/