From e84426e49cb8397cc82974405775a61d2c2592f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20Kub=C3=AD=C4=8Dek?= Date: Thu, 13 Mar 2025 13:35:17 +0100 Subject: [PATCH] ga: add mypy workflow --- .github/workflows/mypy.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/mypy.yml diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml new file mode 100644 index 0000000..ea26503 --- /dev/null +++ b/.github/workflows/mypy.yml @@ -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 .