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