Improve Actions #27
2 changed files with 3 additions and 4 deletions
|
@ -32,6 +32,7 @@ jobs:
|
|||
path: |
|
||||
./vendor/
|
||||
/root/.cache/composer/
|
||||
/usr/local/bin/composer
|
||||
key: cache-composer-2
|
||||
|
||||
- name: Setup PHP
|
||||
|
@ -47,7 +48,5 @@ jobs:
|
|||
if: steps.cache-composer.outputs.cache-hit != 'true'
|
||||
uses: ramsey/composer-install@v3
|
||||
|
||||
- run: which composer && composer config --list
|
||||
|
||||
- name: Detect coding standard violations
|
||||
run: ./vendor/bin/phpcs
|
||||
|
|
|
@ -33,8 +33,8 @@ jobs:
|
|||
uses: https://code.forgejo.org/actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
WP_TESTS_DIR
|
||||
WP_CORE_DIR
|
||||
${{ env.WP_CORE_DIR }}
|
||||
${{ env.WP_TESTS_DIR }}
|
||||
key: cache-wordpress-1
|
||||
|
||||
- name: Setup PHP
|
||||
|
|
Loading…
Reference in a new issue