Skip to content

Workflow file for this run

name: Laravel Pint
on:
pull_request
jobs:
laravel-pint:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
- name: Setup PHP and Composer
uses: shivammathur/[email protected]
with:
php-version: '8.3'
tools: composer:v2
- name: Globally install Laravel Pint
run: composer global require laravel/pint
- name: Run Laravel Pint
run: pint
- name: Push Back to Repo
run: |
git config user.name "gh-actions"
git config user.email "[email protected]"
git add .
git commit -m "Laravel Pint"
git push