JeffreyDavidson is check the project for lint #118
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: Lint | |
run-name: ${{ github.actor }} is check the project for lint | |
on: [push] | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
id: setup-php | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
tools: laravel/pint | |
- name: Check PHP syntax | |
uses: overtrue/phplint@8.2 | |
with: | |
path: . | |
options: --exclude=*.log | |
- name: Check code style | |
run: pint --test |