Skip to content

Coding standards tests #309

Coding standards tests

Coding standards tests #309

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: Coding Standards
on:
push:
branches:
- 'develop'
- 'trunk'
paths:
- '.github/workflows/coding-standards.yml'
- '**.css'
- '**.js'
- '**.php'
- 'composer.json'
- 'phpcs.xml.dist'
- 'phpstan.neon.dist'
pull_request:
branches:
- '**'
paths:
- '.github/workflows/coding-standards.yml'
- '**.css'
- '**.js'
- '**.php'
- 'composer.json'
- 'phpcs.xml.dist'
- 'phpstan.neon.dist'
workflow_dispatch:
permissions: {}
jobs:
test:
name: ${{ matrix.label }}
permissions:
contents: read
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-coding-standards.yml@cs2pr
strategy:
matrix:
label:
- 'PHP'
php:
- '8.3'
fail-fast: false
with:
php: ${{ matrix.php }}