Improve Actions #27

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

View file

@ -25,6 +25,13 @@ jobs:
- name: Checkout
uses: https://code.forgejo.org/actions/checkout@v4
- name: Cache Composer
id: cache-composer
uses: https://code.forgejo.org/actions/actions/cache@v4
with:
path: vendor
key: cache-composer-1
- name: Setup PHP
uses: https://github.com/shivammathur/setup-php@v2
with:
@ -35,6 +42,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: Detect coding standard violations

View file

@ -30,7 +30,7 @@ jobs:
- name: Cache WordPress Setup
id: cache-wordpress
uses: actions/cache@v4
uses: https://code.forgejo.org/actions/actions/cache@v4
with:
path: |
WP_TESTS_DIR
@ -53,6 +53,7 @@ jobs:
run: sudo apt update && sudo apt -y upgrade && sudo apt -y install mysql-client
- name: Setup Test Environment
if: steps.cache-wordpress.outputs.cache-hit != 'true'
run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 6.6
- name: Unit Testing