Skip to content

Sets up feature. WIP #239

Sets up feature. WIP

Sets up feature. WIP #239

Workflow file for this run

name: Coding Standards
on:
pull_request:
jobs:
cs:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ 8.3 ]
steps:
- name: Cancel previous runs of this workflow (pull requests only)
if: ${{ github.event_name == 'pull_request' }}
uses: styfle/cancel-workflow-action@0.5.0
with:
access_token: ${{ github.token }}
- name: Check out code
uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install composer dependencies
uses: ramsey/composer-install@v2
- name: Run Linting
run: composer lint
- name: Run PHP-CS-Fixer
run: vendor/bin/php-cs-fixer fix -v --dry-run --stop-on-violation --using-cache=no --allow-risky=yes