| 1 |
|
| 2 |
|
| 3 |
name: TypeCheck |
| 4 |
on: |
| 5 |
pull_request: |
| 6 |
types: [opened, synchronize, reopened] |
| 7 |
push: |
| 8 |
branches: [main] |
| 9 |
|
| 10 |
permissions: |
| 11 |
contents: read |
| 12 |
|
| 13 |
jobs: |
| 14 |
type-check: |
| 15 |
runs-on: ubuntu-latest |
| 16 |
strategy: |
| 17 |
matrix: |
| 18 |
python-version: ["3.11", "3.12", "3.13", "3.14"] |
| 19 |
fail-fast: false |
| 20 |
defaults: |
| 21 |
run: |
| 22 |
shell: bash |
| 23 |
steps: |
| 24 |
- name: Check out |
| 25 |
uses: actions/[email protected] |
| 26 |
with: |
| 27 |
fetch-depth: 0 |
| 28 |
|
| 29 |
- name: Install uv and set the python version |
| 30 |
uses: astral-sh/setup-uv@v7 |
| 31 |
with: |
| 32 |
python-version: ${{ matrix.python-version }} |
| 33 |
|
| 34 |
- name: Check typing |
| 35 |
run: uv run mypy . |