Integrating Laravel Pint with Github Actions

Laravel Pint is a wrapper around PHP-CS-Fixer that brings a nice UX and doesn’t require any dependencies. Use this snippet to integrate it into your Github CI/CD: name:Integrate Laravel Pint with Github Actionson:[push]jobs:Test:runs-on:ubuntu-lateststeps:- name:Check out repository codeuses:actions/checkout@v3- name:Install Dependenciesrun:composer install -q --no-ansi --no-interaction --no-scripts --no-progress- name:Check code stylerun:./vendor/bin/pint --test --preset laravel

June 23, 2022