Skip to content

Merge pull request #553 from getformwork/dependabot/composer/phpstan/… #55

Merge pull request #553 from getformwork/dependabot/composer/phpstan/…

Merge pull request #553 from getformwork/dependabot/composer/phpstan/… #55

Workflow file for this run

name: Check
on:
push:
branches: [ "2.x" ]
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: composer
- uses: actions/checkout@v4
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Install dependencies
run: composer install
- name: Check coding style
run: composer fix:check
- name: Run PHPStan
run: composer phpstan
- name: Run Rector
run: composer rector:check