Browse Source

Specify Python 3.10 for linting

Jan Philip Göpfert 2 years ago
parent
commit
d4bc3efb38
1 changed files with 4 additions and 2 deletions
  1. 4 2
      .github/workflows/lint_python.yml

+ 4 - 2
.github/workflows/lint_python.yml

@@ -6,8 +6,10 @@ jobs:
     lint_python:
         runs-on: ubuntu-latest
         steps:
-            - uses: actions/checkout@v2
-            - uses: actions/setup-python@v2
+            - uses: actions/checkout@v3
+            - uses: actions/setup-python@v3
+              with:
+                python-version: "3.10"
             - run: pip install --upgrade pip wheel
             - run: pip install .
             - run: pip install bandit black flake8 flake8-bugbear flake8-comprehensions isort safety mypy