File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,21 @@ jobs:
1616 - name : Check out source code
1717 uses : actions/checkout@v4
1818
19- - name : Set up PHP
19+ - name : Set up PHP environment
2020 uses : shivammathur/setup-php@v2
2121 with :
2222 php-version : ' latest'
23- coverage : none
23+ coverage : ' none'
24+ env :
25+ COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2426
25- - name : Install Composer dependencies
26- run : composer install --no-dev
27+ - name : Install Composer dependencies & cache dependencies
28+ uses : " ramsey/composer-install@v3"
29+ env :
30+ COMPOSER_ROOT_VERSION : dev-${{ github.event.repository.default_branch }}
31+ with :
32+ # Bust the cache at least once a month - output format: YYYY-MM.
33+ custom-cache-suffix : $(date -u "+%Y-%m")
2734
2835 - name : Download WP-CLI nightly
2936 run : |
You can’t perform that action at this time.
0 commit comments