File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 34
34
# @link https://github.com/marketplace/actions/install-composer-dependencies
35
35
- name : Install Composer dependencies
36
36
uses : " ramsey/composer-install@v2"
37
+ with :
38
+ # Bust the cache at least once a month - output format: YYYY-MM.
39
+ custom-cache-suffix : $(date -u "+%Y-%m")
37
40
38
41
- name : Run PHPStan
39
42
run : phpstan analyse --configuration=phpstan.neon
Original file line number Diff line number Diff line change @@ -117,13 +117,17 @@ jobs:
117
117
- name : Install Composer dependencies - normal
118
118
if : ${{ matrix.php < '8.0' }}
119
119
uses : " ramsey/composer-install@v2"
120
+ with :
121
+ # Bust the cache at least once a month - output format: YYYY-MM.
122
+ custom-cache-suffix : $(date -u "+%Y-%m")
120
123
121
124
# For PHP 8.0+, we need to install with ignore platform reqs as PHPUnit 7 is still used.
122
125
- name : Install Composer dependencies - with ignore platform
123
126
if : ${{ matrix.php >= '8.0' }}
124
127
uses : " ramsey/composer-install@v2"
125
128
with :
126
129
composer-options : --ignore-platform-reqs
130
+ custom-cache-suffix : $(date -u "+%Y-%m")
127
131
128
132
# Note: The code style check is run multiple times against every PHP version
129
133
# as it also acts as an integration test.
You can’t perform that action at this time.
0 commit comments