Skip to content

chore: Add GitHub Action check to run mypy #1

chore: Add GitHub Action check to run mypy

chore: Add GitHub Action check to run mypy #1

Workflow file for this run

name: Mypy Static Type Check

Check failure on line 1 in .github/workflows/mypy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/mypy.yml

Invalid workflow file

(Line: 12, Col: 14): Unexpected value '', (Line: 13, Col: 5): Unexpected value 'matrix'
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
mypy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-extras
- name: Run mypy
run: uv run mypy . --strict