Skip to content

Bump actions/checkout from 4.1.7 to 4.2.1 #72

Bump actions/checkout from 4.1.7 to 4.2.1

Bump actions/checkout from 4.1.7 to 4.2.1 #72

Workflow file for this run

name: PHP-CS-Fixer
on:
pull_request:
branches:
- '*'
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ 8.2 ]
steps:
- name: Checkout code
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
env:
fail-fast: true
- name: Install PHP-CS-Fixer
run: composer --working-dir=vendor-bin/php-cs-fixer --no-progress install
- name: Run PHP-CS-Fixer
run: ./vendor-bin/php-cs-fixer/vendor/bin/php-cs-fixer fix
- name: Commit lint changes
uses: stefanzweifel/[email protected]
with:
commit_message: Apply PHP-CS-Fixer changes