From 6020c1f277e91276ac7f397ef885261cc5ce69ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Sat, 21 Sep 2024 12:45:07 +0200 Subject: [PATCH] test --- .forgejo/workflows/phpunit.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.forgejo/workflows/phpunit.yml b/.forgejo/workflows/phpunit.yml index 45811ca..9f52286 100644 --- a/.forgejo/workflows/phpunit.yml +++ b/.forgejo/workflows/phpunit.yml @@ -37,6 +37,16 @@ jobs: ${{ env.WP_TESTS_DIR }} key: cache-wordpress-1 + - name: Cache Composer + id: cache-composer + uses: https://code.forgejo.org/actions/cache@v4 + with: + path: | + ./vendor/ + /root/.cache/composer/ + /usr/local/bin/composer + key: cache-composer-2 + - name: Setup PHP uses: https://github.com/shivammathur/setup-php@v2 with: @@ -47,6 +57,7 @@ jobs: runner: self-hosted - name: Install Composer dependencies for PHP + if: steps.cache-composer.outputs.cache-hit != 'true' uses: ramsey/composer-install@v3 - name: Install mysqladmin