diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml
index b2c8c27..06be89f 100644
--- a/.github/workflows/mypy.yml
+++ b/.github/workflows/mypy.yml
@@ -8,10 +8,10 @@ jobs:
       steps:
         - uses: actions/checkout@v4
 
-        - name: Set up Python 3.9
+        - name: Set up Python 3.10
           uses: actions/setup-python@v5.3.0
           with:
-           python-version: 3.9
+           python-version: 3.10.16
 
         - name: Set up Poetry
           run: pip install poetry
@@ -20,4 +20,4 @@ jobs:
           run: poetry install --with dev
 
         - name: Run mypy
-          run: poetry run mypy mdopt
\ No newline at end of file
+          run: poetry run mypy mdopt