ga: add mypy workflow

This commit is contained in:
Richard Kubíček
2025-03-13 13:35:17 +01:00
parent d0147a0451
commit e84426e49c

25
.github/workflows/mypy.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: MyPy Type Checking
on: [push]
jobs:
type-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mypy types-requests types-setuptools
pip install -r requirements_dev.txt
- name: Run MyPy
run: mypy .