mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
4911670166
Switched from PHP 7.4 to 'latest' in the code-quality GitHub Actions workflow to ensure compatibility with the most up-to-date PHP version. This change improves maintainability and aligns the build process with modern PHP standards.
25 lines
500 B
YAML
25 lines
500 B
YAML
name: Ultimate Member - Checking Code quality through PHPCS + WPCS
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- development/3.0
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Setup PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: 'latest'
|
|
|
|
- name: Install dependencies
|
|
run: composer install --prefer-dist --no-progress --no-suggest
|
|
|
|
- name: Run CS
|
|
run: vendor/bin/phpcs --standard=phpcs.xml .
|