30
30
with :
31
31
path : |
32
32
~/.composer/cache
33
- key : " php-${{ matrix.php-version }}-locked "
34
- restore-keys : " php-${{ matrix.php-version }}-locked "
33
+ key : " php-${{ matrix.php-version }}-highest "
34
+ restore-keys : " php-${{ matrix.php-version }}-highest "
35
35
- name : " Install highest dependencies"
36
36
run : " composer update --no-interaction --no-progress"
37
37
- name : " Coding Standard"
61
61
with :
62
62
path : |
63
63
~/.composer/cache
64
- key : " php-${{ matrix.php-version }}-locked "
65
- restore-keys : " php-${{ matrix.php-version }}-locked "
64
+ key : " php-${{ matrix.php-version }}-highest "
65
+ restore-keys : " php-${{ matrix.php-version }}-highest "
66
66
- name : " Install highest dependencies"
67
67
run : " composer update --no-interaction --no-progress"
68
68
- name : " Run Psalm"
74
74
strategy :
75
75
matrix :
76
76
dependencies :
77
- - " locked "
77
+ - " lowest "
78
78
- " highest"
79
79
php-version :
80
80
- " 7.4"
@@ -96,16 +96,16 @@ jobs:
96
96
with :
97
97
path : |
98
98
~/.composer/cache
99
- key : " php-${{ matrix.php-version }}-locked "
99
+ key : " php-${{ matrix.php-version }}-${{ matrix.dependencies }} "
100
100
restore-keys : " php-${{ matrix.php-version }}-${{ matrix.dependencies }}"
101
101
- name : " Install lowest dependencies"
102
102
if : ${{ matrix.dependencies == 'lowest' }}
103
103
run : " composer update --prefer-lowest --no-interaction --no-progress --ignore-platform-reqs"
104
104
- name : " Install highest dependencies"
105
105
if : ${{ matrix.dependencies == 'highest' }}
106
106
run : " composer update --no-interaction --no-progress --ignore-platform-reqs"
107
- - name : " Install locked dependencies"
108
- if : ${{ matrix.dependencies == 'locked' }}
109
- run : " composer install --no-interaction --no-progress --ignore-platform-reqs"
107
+ # - name: "Install locked dependencies"
108
+ # if: ${{ matrix.dependencies == 'locked' }}
109
+ # run: "composer install --no-interaction --no-progress --ignore-platform-reqs"
110
110
- name : " Run PHPUnit"
111
111
run : " vendor/bin/phpunit --testdox --coverage-text"
0 commit comments