mirror of
https://github.com/gumyr/build123d.git
synced 2026-01-21 03:51:30 -08:00
type.yml -> ty check src/
This commit is contained in:
parent
351ad91662
commit
a7a86aaf46
1 changed files with 28 additions and 0 deletions
28
.github/workflows/type.yml
vendored
Normal file
28
.github/workflows/type.yml
vendored
Normal 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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue