Skip to content

Uses lean-package-validator GitHub action #56

Uses lean-package-validator GitHub action

Uses lean-package-validator GitHub action #56

Workflow file for this run

name: lint
on: push
jobs:
tests:
name: lint
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: Check coding styles
run: composer run-script lpv:cs-lint
- name: Check leanness of package
uses: raphaelstolt/[email protected]
with:
php-version: "${{ matrix.php }}"
lpv-version: "3.0.0"