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/