File tree 4 files changed +11
-0
lines changed
4 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -127,12 +127,15 @@ jobs:
127
127
uses : " ramsey/composer-install@v2"
128
128
with :
129
129
composer-options : ' --optimize-autoloader'
130
+ # Bust the cache at least once a month - output format: YYYY-MM-DD.
131
+ custom-cache-suffix : $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F")
130
132
131
133
- name : Install Composer dependencies
132
134
if : ${{ matrix.php == '8.2' }}
133
135
uses : " ramsey/composer-install@v2"
134
136
with :
135
137
composer-options : ' --ignore-platform-reqs --optimize-autoloader'
138
+ custom-cache-suffix : $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F")
136
139
137
140
- name : Run integration tests
138
141
run : vendor/bin/phpunit --no-coverage
Original file line number Diff line number Diff line change 38
38
# @link https://github.com/marketplace/actions/install-composer-dependencies
39
39
- name : Install Composer dependencies
40
40
uses : " ramsey/composer-install@v2"
41
+ with :
42
+ # Bust the cache at least once a month - output format: YYYY-MM-DD.
43
+ custom-cache-suffix : $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F")
41
44
42
45
- name : Lint against parse errors
43
46
run : composer lint -- --checkstyle | cs2pr
Original file line number Diff line number Diff line change 60
60
uses : " ramsey/composer-install@v2"
61
61
with :
62
62
composer-options : ' --optimize-autoloader'
63
+ # Bust the cache at least once a month - output format: YYYY-MM-DD.
64
+ custom-cache-suffix : $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F")
63
65
64
66
- name : Run integration tests
65
67
run : vendor/bin/phpunit --no-coverage
Original file line number Diff line number Diff line change 36
36
# @link https://github.com/marketplace/actions/install-composer-dependencies
37
37
- name : Install Composer dependencies
38
38
uses : " ramsey/composer-install@v2"
39
+ with :
40
+ # Bust the cache at least once a month - output format: YYYY-MM-DD.
41
+ custom-cache-suffix : $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F")
39
42
40
43
- name : Download security checker
41
44
# yamllint disable-line rule:line-length
You can’t perform that action at this time.
0 commit comments