Skip to content

Commit

Permalink
Merge pull request #14 from pboivin/fix/phpunit-composer-cache
Browse files Browse the repository at this point in the history
Include php version in composer cache for github action
  • Loading branch information
mrtimbrook authored Oct 19, 2021
2 parents 5c77445 + c493ecc commit c49d1b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-node-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-${{ matrix.php }}-node-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-node-
${{ runner.os }}-${{ matrix.php }}-node-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit c49d1b4

Please sign in to comment.