From 18f912b29f41c73f94ccfa05951f4b61754f022c Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Wed, 22 Mar 2023 17:31:51 +0100 Subject: [PATCH] actions: restrict linting to newest version --- .github/workflows/ci-tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index c7ad798f..1f6b818c 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -102,18 +102,22 @@ jobs: - name: Install latest pylint/mypy run: pip3 install -U pylint mypy types-PyYAML types-jinja2 types-psycopg2 types-psutil types-requests typing-extensions + if: matrix.ubuntu == 22 - name: PHP linting run: phpcs --report-width=120 . working-directory: Nominatim + if: matrix.ubuntu == 22 - name: Python linting run: pylint nominatim working-directory: Nominatim + if: matrix.ubuntu == 22 - name: Python static typechecking run: mypy --strict nominatim working-directory: Nominatim + if: matrix.ubuntu == 22 - name: PHP unit tests -- 2.39.5