-
Notifications
You must be signed in to change notification settings - Fork 5
Feature | PHP 8.5 Support #65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Style
on:
push:
branches:
- 'v1'
- 'v2'
- 'v3'
pull_request:
branches:
- '*'
permissions:
contents: write
concurrency:
group: ${{ github.head_ref || github.ref || github.run_id }}_php_cs_fixer
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install Dependencies
run: |
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Run PHP CS Fixer
run: ./vendor/bin/php-cs-fixer fix --allow-risky=yes
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: πͺ Code Style Fixes
commit_options: '--no-verify'