From 511ea1b536ef60af6e78e1ff6e0364d08c6f42b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Bouc=CC=8Cek?= Date: Sat, 11 Sep 2021 14:11:40 +0200 Subject: [PATCH] Tests: Fix GitHub Workflow cache --- .github/workflows/code_analysis.yaml | 10 +++++++--- composer.json | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code_analysis.yaml b/.github/workflows/code_analysis.yaml index 6c1a966..04d7d95 100644 --- a/.github/workflows/code_analysis.yaml +++ b/.github/workflows/code_analysis.yaml @@ -9,7 +9,13 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.3', '7.4', '8.0', '8.1'] + php: + # - '7.1' # incompatible tester + - '7.2' + - '7.3' + - '7.4' + - '8.0' + # - '8.1' # not yet compatible (PHP 8.1 RC2) actions: - name: PHPStan run: composer phpstan @@ -45,8 +51,6 @@ jobs: ${{ steps.composer-cache.outputs.dir }} **/composer.lock key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.php }}-composer- - name: Install Composer diff --git a/composer.json b/composer.json index 57222af..728c001 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "nette/utils": "^3.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.83", + "phpstan/phpstan": "^0.12.98", "nette/tester": "^2.4" }, "autoload": {