Skip to content

Test with johnbillion/plugin-infrastructure@pr-labels #3

Test with johnbillion/plugin-infrastructure@pr-labels

Test with johnbillion/plugin-infrastructure@pr-labels #3

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: Static Analysis
on:
push:
branches:
- 'develop'
- 'trunk'
paths:
- '.github/workflows/static-analysis.yml'
- '**.php'
- 'composer.json'
- 'phpstan.neon.dist'
pull_request:
branches:
- '**'
paths:
- '.github/workflows/static-analysis.yml'
- '**.php'
- 'composer.json'
- 'phpstan.neon.dist'
workflow_dispatch:
permissions: {}
jobs:
test:
name: ${{ matrix.label }}
permissions:
contents: read
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-static-analysis.yml@d34f187fc6d3fd1032a193511675c57fcd8e4f40
strategy:
matrix:
label:
- 'PHP'
php:
# Newest and oldest supported versions of PHP
- '8.4'
- '7.4'
fail-fast: false
with:
php: ${{ matrix.php }}