Skip to content

Commit 3820d0f

Browse files
committed
Adjust composer cache key hash to account for composer.lock removal
1 parent d3052bc commit 3820d0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
uses: actions/cache@v4
5353
with:
5454
path: ${{ steps.composer-cache.outputs.dir }}
55-
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
55+
key: ${{ runner.os }}-composer-${{ hashFiles('composer.*') }}
5656
restore-keys: ${{ runner.os }}-composer-
5757

5858
- name: "Install dependencies"

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/cache@v4
5757
with:
5858
path: ${{ steps.composer-cache.outputs.dir }}
59-
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
59+
key: ${{ runner.os }}-composer-${{ hashFiles('composer.*') }}
6060
restore-keys: ${{ runner.os }}-composer-
6161

6262
- name: "Install dependencies"

0 commit comments

Comments
 (0)