Skip to content

Added priority parameter #7

Added priority parameter

Added priority parameter #7

name: Coding Standards
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
php-cs-fixer:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
extensions: dom, curl, libxml, mbstring, zip
coverage: none
tools: php-cs-fixer
- name: Check coding standards
run: php-cs-fixer fix --dry-run --diff
pint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
extensions: dom, curl, libxml, mbstring, zip
coverage: none
- name: Install dependencies
run: composer update --prefer-stable --prefer-dist --no-interaction
- name: Check coding standards with Pint
run: composer lint:check