Skip to content

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

Test with johnbillion/plugin-infrastructure@actions-timeline

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

# 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'
- 'phpcs56.yml'
- 'phpstan.neon.dist'
pull_request:
branches:
- '**'
paths:
- '.github/workflows/coding-standards.yml'
- '**.css'
- '**.js'
- '**.php'
- 'composer.json'
- 'phpcs.xml.dist'
- 'phpcs56.yml'
- 'phpstan.neon.dist'
workflow_dispatch:
permissions:
contents: read
jobs:
test:
name: ${{ matrix.label }}
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-coding-standards.yml@a18bc1f4c70af92cc720b6b6da97b94f80183b0a
strategy:
matrix:
label:
- 'PHP'
php:
- '8.3'
- '7.4'
fail-fast: false
with:
php: ${{ matrix.php }}