-
-
Notifications
You must be signed in to change notification settings - Fork 160
31 lines (27 loc) · 693 Bytes
/
type.yml
File metadata and controls
31 lines (27 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Run type checking
on: [push, pull_request]
jobs:
typecheck:
strategy:
fail-fast: false
matrix:
python-version: [
"3.10",
"3.14",
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup
uses: ./.github/actions/setup
with:
python-version: ${{ matrix.python-version }}
optional-dependencies: "development,stubs"
- name: Typecheck (mypy)
run: |
mypy --config-file mypy.ini src/build123d
- name: Typecheck (ty)
run: |
uv tool install ty@latest
ty check src/build123d/
continue-on-error: true