Skip to content
This repository was archived by the owner on Dec 17, 2022. It is now read-only.

Commit 5892910

Browse files
authored
Merge pull request #6 from benjaminmal/fix/ci/composer-cache
Fix composer cache with `matrix.lowest`
2 parents 570a560 + 1efeb86 commit 5892910

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444
uses: actions/cache@v3
4545
with:
4646
path: ${{ steps.composer-cache.outputs.dir }}
47-
key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
47+
key: ${{ runner.os }}-php-${{ matrix.php }}-${{ matrix.lowest }}-composer-${{ hashFiles('**/composer.json') }}
4848
restore-keys: |
49-
${{ runner.os }}-php-${{ matrix.php }}-composer-
49+
${{ runner.os }}-php-${{ matrix.php }}-${{ matrix.lowest }}-composer-
5050
${{ runner.os }}-php-
5151
5252
- name: Install PHP dependencies
@@ -58,4 +58,4 @@ jobs:
5858
run: composer validate --ansi --strict
5959

6060
- name: Run ECS
61-
run: vendor/bin/ecs check tests ecs.php --no-interaction --no-progress-bar --ansi
61+
run: vendor/bin/ecs check tests/ ecs.php --no-interaction --no-progress-bar --ansi

0 commit comments

Comments
 (0)