Skip to content

Test with johnbillion/plugin-infrastructure@actions-timeline #298

Test with johnbillion/plugin-infrastructure@actions-timeline

Test with johnbillion/plugin-infrastructure@actions-timeline #298

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