Skip to content

feat: add pre-push hook for PHP checks and update workflow job name #5

feat: add pre-push hook for PHP checks and update workflow job name

feat: add pre-push hook for PHP checks and update workflow job name #5

Workflow file for this run

name: Static Analysis
on:
pull_request:
branches: [ "master" ]
jobs:
static-analyse:
name: Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
- name: Install composer dependencies
run: composer install -n --prefer-dist
- name: Run PHPStan
run: vendor/bin/phpstan analyse --memory-limit=1G
- name: Run Laravel Pint (Lint)
run: vendor/bin/pint --test