mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
44aecd413e
Changed the PHP version from 'latest' to '8.4' in the code-quality and build-release workflows. This ensures consistency and avoids potential issues with future PHP version updates.
25 lines
497 B
YAML
25 lines
497 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: '8.4'
|
|
|
|
- name: Install dependencies
|
|
run: composer install --prefer-dist --no-progress --no-suggest
|
|
|
|
- name: Run CS
|
|
run: vendor/bin/phpcs --standard=phpcs.xml .
|