Skip to content

Commit

Permalink
Tests: Fix GitHub Workflow cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubboucek committed Sep 11, 2021
1 parent 31e8290 commit 511ea1b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 511ea1b

Please sign in to comment.