From 5b7676ee0961d2d00cbc9c482615d90155a07ff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Sat, 21 Sep 2024 12:38:14 +0200 Subject: [PATCH] test --- .forgejo/workflows/phpcs.yml | 3 +-- .forgejo/workflows/phpunit.yml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/phpcs.yml b/.forgejo/workflows/phpcs.yml index f47edd0..b7cc8f9 100755 --- a/.forgejo/workflows/phpcs.yml +++ b/.forgejo/workflows/phpcs.yml @@ -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 diff --git a/.forgejo/workflows/phpunit.yml b/.forgejo/workflows/phpunit.yml index dc4fe8a..417558a 100644 --- a/.forgejo/workflows/phpunit.yml +++ b/.forgejo/workflows/phpunit.yml @@ -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