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 Actions on: [push] jobs: Test: runs-on: ubuntu-latest steps: - name: Check out repository code uses: actions/checkout@v3 - name: Install Dependencies run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress - name: Check code style run: ./vendor/bin/pint --test --preset laravel

June 23, 2022