Skip to content

Merge pull request #2 from bdumitrua/1.x #7

Merge pull request #2 from bdumitrua/1.x

Merge pull request #2 from bdumitrua/1.x #7

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches:
- '1.x'
push:
branches:
- '1.x'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
tools: composer:v2
- uses: ramsey/composer-install@v3
with:
composer-options: --optimize-autoloader
- name: Composer validate
run: composer validate --strict --no-check-publish
- name: Composer audit
run: composer audit
- name: Composer normalize
run: composer normalize --diff --dry-run
- name: Lint PHP files
uses: overtrue/phplint@main
with:
path: .
options: --exclude=vendor
- name: Php cs fixer
run: composer phpcs
- name: Rector
run: composer rector
- name: Psalm
run: composer psalm