| 1 |
on: |
| 2 |
push: |
| 3 |
pull_request: |
| 4 |
schedule: |
| 5 |
- cron: '30 13 * * *' |
| 6 |
permissions: { } |
| 7 |
jobs: |
| 8 |
mypy: |
| 9 |
strategy: |
| 10 |
fail-fast: false |
| 11 |
matrix: |
| 12 |
py: |
| 13 |
- '3.9' |
| 14 |
- '3.10' |
| 15 |
- '3.11' |
| 16 |
- '3.12' |
| 17 |
- '3.13' |
| 18 |
- '3.13t' |
| 19 |
- '3.14' |
| 20 |
- '3.14t' |
| 21 |
runs-on: 'ubuntu-24.04' |
| 22 |
steps: |
| 23 |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
| 24 |
with: |
| 25 |
persist-credentials: false |
| 26 |
- name: Install uv |
| 27 |
uses: astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.0 |
| 28 |
with: |
| 29 |
version: "0.8.11" |
| 30 |
|
| 31 |
- name: Run mypy |
| 32 |
run: | |
| 33 |
uv run --locked mypy tests/*.py zstandard/*.py |