Skip to content

Bump actions/checkout from 4.1.3 to 4.1.4 #1162

Bump actions/checkout from 4.1.3 to 4.1.4

Bump actions/checkout from 4.1.3 to 4.1.4 #1162

name: Code style and static analysis
on:
pull_request:
push:
branches:
- master
- develop
- release/**
permissions:
contents: read
jobs:
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup PHP
uses: shivammathur/setup-php@efffd0e4f2504f936fcfe3b69293d31ce0e2fd7a # v2.30.3
with:
php-version: '8.2'
- name: Install dependencies
uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0
with:
composer-options: --prefer-dist
- name: Run script
run: vendor/bin/php-cs-fixer fix --verbose --diff --dry-run
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup PHP
uses: shivammathur/setup-php@efffd0e4f2504f936fcfe3b69293d31ce0e2fd7a # v2.30.3
with:
php-version: '8.3'
- name: Install dependencies
uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0
with:
composer-options: --prefer-dist
- name: Run script
run: vendor/bin/phpstan analyse
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup PHP
uses: shivammathur/setup-php@efffd0e4f2504f936fcfe3b69293d31ce0e2fd7a # v2.30.3
with:
php-version: '8.3'
- name: Install dependencies
uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0
with:
composer-options: --prefer-dist
- name: Run script
run: vendor/bin/psalm --php-version=8.0