Skip to content

Uses lean-package-validator GitHub action #50

Uses lean-package-validator GitHub action

Uses lean-package-validator GitHub action #50

name: static-analyse
on: push
jobs:
tests:
name: static-analyse
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php:
- "8.1"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
- name: Install Composer dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Run static analyse
run: composer run-script lpv:static-analyse