Add Laravel Pint Setting #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testing Pull Request | |
on: | |
pull_request: | |
types: [synchronize, opened, reopened] | |
jobs: | |
pint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: src | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup PHP with composer v2 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
tools: composer:v2 | |
- name: Install dependencies | |
run: composer install --no-progress --no-interaction --no-scripts --no-ansi | |
- name: Pint Testing | |
run: ./vendor/bin/pint -v --test |