Skip to content

Commit dc618ec

Browse files
szepeviktormnavarrocarter
authored andcommitted
Fix dep. levels
1 parent 0e6297d commit dc618ec

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/pr.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
with:
3131
path: |
3232
~/.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"
3535
- name: "Install highest dependencies"
3636
run: "composer update --no-interaction --no-progress"
3737
- name: "Coding Standard"
@@ -61,8 +61,8 @@ jobs:
6161
with:
6262
path: |
6363
~/.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"
6666
- name: "Install highest dependencies"
6767
run: "composer update --no-interaction --no-progress"
6868
- name: "Run Psalm"
@@ -74,7 +74,7 @@ jobs:
7474
strategy:
7575
matrix:
7676
dependencies:
77-
- "locked"
77+
- "lowest"
7878
- "highest"
7979
php-version:
8080
- "7.4"
@@ -96,16 +96,16 @@ jobs:
9696
with:
9797
path: |
9898
~/.composer/cache
99-
key: "php-${{ matrix.php-version }}-locked"
99+
key: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}"
100100
restore-keys: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}"
101101
- name: "Install lowest dependencies"
102102
if: ${{ matrix.dependencies == 'lowest' }}
103103
run: "composer update --prefer-lowest --no-interaction --no-progress --ignore-platform-reqs"
104104
- name: "Install highest dependencies"
105105
if: ${{ matrix.dependencies == 'highest' }}
106106
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"
110110
- name: "Run PHPUnit"
111111
run: "vendor/bin/phpunit --testdox --coverage-text"

0 commit comments

Comments
 (0)