Skip to content

add auto-commit for linted files #57

add auto-commit for linted files

add auto-commit for linted files #57

name: Continuous Integration
on: ['push', 'pull_request']
jobs:
continuous-integration:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2 #match with project
tools: composer:v2, povils/phpmnd, laravel/pint, larastan/larastan
coverage: none
- name: Install Dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: PHP Magic Number Detector
run: vendor/bin/phpmnd . --exclude tests
- name: Pint
run: pint
- name: PHPStan
run: phpstan analyse app/ --error-format=github