Skip to content

Commit f043569

Browse files
committed
ci: better key caching
1 parent a6e8627 commit f043569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ jobs:
270270
path: |
271271
tests/_data/plugins
272272
tests/_data/mu-plugins
273-
key: ${{ runner.os }}-wp-plugins-${{ hashFiles('.wp-env.json', 'bin/_lib.sh') }}
273+
key: ${{ runner.os }}-wp-plugins-${{ hashFiles('.wp-env.json', 'bin/_lib.sh', 'bin/after-start.sh', 'bin/setup.sh') }}
274274
restore-keys: |
275275
${{ runner.os }}-wp-plugins-
276276
@@ -406,7 +406,7 @@ jobs:
406406
path: |
407407
tests/_data/plugins
408408
tests/_data/mu-plugins
409-
key: ${{ runner.os }}-wp-plugins-${{ hashFiles('.wp-env.json', 'bin/_lib.sh') }}
409+
key: ${{ runner.os }}-wp-plugins-${{ hashFiles('.wp-env.json', 'bin/_lib.sh', 'bin/after-start.sh', 'bin/setup.sh') }}
410410
restore-keys: |
411411
${{ runner.os }}-wp-plugins-
412412

0 commit comments

Comments
 (0)