Skip to content

⬆️ Update dependency larastan/larastan to v2.9.12 #561

⬆️ Update dependency larastan/larastan to v2.9.12

⬆️ Update dependency larastan/larastan to v2.9.12 #561

Workflow file for this run

---
name: Typing
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
env:
DEFAULT_PHP: "8.3"
DEFAULT_FOLDER: "./laravel"
jobs:
phpstan:
name: 🧹 Larastan
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: 🏗 Setup PHP, with composer and extensions
uses: shivammathur/[email protected]
with:
php-version: ${{env.DEFAULT_PHP}}
coverage: none
- name: 🏗 Install Laravel Dependencies
working-directory: ${{env.DEFAULT_FOLDER}}
run: |
composer install -n --prefer-dist
- name: 🚀 Run Static Analysis
working-directory: ${{env.DEFAULT_FOLDER}}
run: ./vendor/bin/phpstan --memory-limit=1G --error-format=github