]> git.openstreetmap.org Git - nominatim.git/commitdiff
actions: restrict linting to newest version
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 22 Mar 2023 16:31:51 +0000 (17:31 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 22 Mar 2023 16:31:51 +0000 (17:31 +0100)
.github/workflows/ci-tests.yml

index c7ad798f54e5bf00f2ccd377280e96f56f5360f0..1f6b818c6ee9097833e4ea4d5b434118aaf4d5d3 100644 (file)
@@ -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