Improve Actions #27

Merged
linos merged 30 commits from improve_actions into main 2024-09-21 14:06:11 +02:00
3 changed files with 6 additions and 4 deletions
Showing only changes of commit 2af7ea5288 - Show all commits

View file

@ -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

View file

@ -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

View file

@ -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__ ) );