Improve Actions #27
3 changed files with 6 additions and 4 deletions
|
@ -29,8 +29,10 @@ jobs:
|
|||
id: cache-composer
|
||||
uses: https://code.forgejo.org/actions/cache@v4
|
||||
with:
|
||||
path: vendor
|
||||
key: cache-composer-1
|
||||
path: |
|
||||
./vendor/
|
||||
/root/.cache/composer/
|
||||
key: cache-composer-2
|
||||
|
||||
- name: Setup PHP
|
||||
uses: https://github.com/shivammathur/setup-php@v2
|
||||
|
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
path: |
|
||||
WP_TESTS_DIR
|
||||
WP_CORE_DIR
|
||||
key: wordpress-cache-1
|
||||
key: cache-wordpress-1
|
||||
|
||||
- name: Setup PHP
|
||||
uses: https://github.com/shivammathur/setup-php@v2
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
// Exit if accessed directly.
|
||||
defined('ABSPATH' ) || exit; // @codeCoverageIgnore
|
||||
defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore
|
||||
|
||||
define( 'ACTIVITYPUB_EVENT_EXTENSIONS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
||||
define( 'ACTIVITYPUB_EVENT_EXTENSIONS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
||||
|
|
Loading…
Reference in a new issue