Skip to content

Dependency update

Dependency update #70

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
cs-fixer:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
coverage: none
- name: Validate composer.json
continue-on-error: true
run: composer validate --ansi --strict
- name: Cache composer dependencies
uses: actions/cache@v4
with:
path: vendor
key: composer-${{ hashFiles('composer.lock') }}
- name: Install PHP dependencies
run: composer install --no-interaction --no-scripts --no-progress --prefer-dist
- name: Run Rector
run: composer rector
- name: Run CS Fixer
run: composer cs-fixer
- name: Commit changes from rector
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
- name: Run PHPStan
run: composer phpstan