Skip to content

Commit 978a6f7

Browse files
authored
Merge pull request #12 from cooperaj/start-testing-lowest-versions
Can't run composer like I was expecting.
2 parents e63a419 + d4bfbcd commit 978a6f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ jobs:
5151
uses: actions/cache@v4
5252
with:
5353
path: vendor
54-
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.json') }}
54+
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.json') }}-${{ matrix.dependency-versions }}
5555
restore-keys: |
5656
${{ runner.os }}-php-
5757
5858
- name: Install dependencies
5959
if: steps.composer-cache.outputs.cache-hit != 'true'
60-
run: composer install --prefer-dist --no-progress ${{ matrix.dependency-versions }}
60+
run: composer update --prefer-dist --no-progress ${{ matrix.dependency-versions }}
6161

6262
- name: Install tools
6363
run: phive --no-progress install --trust-gpg-keys 4AA394086372C20A,12CE0F1D262429A5,97B02DD8E5071466 phpunit@^${{ matrix.phpunit-versions }} psalm@^${{ matrix.psalm-versions }} phpcs

0 commit comments

Comments
 (0)