Files
Epicnabbo-Catalogus-Updated…/Updated_Cms/.github/workflows/lint.yml
T
2026-01-07 20:31:19 +01:00

39 lines
819 B
YAML

name: Fix Code Style
on: [push]
permissions:
contents: write
jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.4]
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer, pint
- name: Install composer dependencies
run: composer install --prefer-dist --no-interaction --no-progress
- name: Run Pint
run: pint
- name: Commit linted files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'style: fix code style with Laravel Pint'