Skip to content

feat!: drop PHP 8.1 support #266

feat!: drop PHP 8.1 support

feat!: drop PHP 8.1 support #266

Workflow file for this run

name: Check & fix styling
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
pint:
runs-on: ubuntu-latest
name: Code formatting
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache Composer packages
uses: actions/cache@v4
with:
path: vendor
key: php-${{ hashFiles('**/composer.lock') }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Run Pint
run: composer format
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "fix: apply code styling rules"