# Filenme: .github/workflows/larastan.yaml name: Laravel Larastan on: pull_request: workflow_dispatch: jobs: larastan: runs-on: ubuntu-latest steps: # Reinstall system libraries to ensure compatibility - name: Ensure system libraries are up-to-date run: | sudo apt-get update sudo apt-get install --reinstall --yes git libc6 - uses: actions/checkout@v4 - name: Set up PHP uses: shivammathur/setup-php@v2 with: php-version: "8.4" - name: Install dependencies run: composer install --prefer-dist --no-interaction --quiet # Run larastan code quality checks - name: Run Larastan run: vendor/bin/phpstan analyse --no-progress --memory-limit=2G