Skip to content

Update Component publish command (#261) #330

Update Component publish command (#261)

Update Component publish command (#261) #330

Workflow file for this run

name: "phpstan Static Analysis"

Check failure on line 1 in .github/workflows/phpstan.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/phpstan.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: phpstan
on:
push:
pull_request:
branches:
- main
jobs:
phpstan:
strategy:
fail-fast: false
matrix:
php: [8.2]
laravel: [10.*]
dependencies: ["highest"]
name: "PHP ${{ matrix.php }} - L${{ matrix.laravel }} ${{ matrix.dependencies == 'highest' && '↑' || '↓' }}"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout code"
uses: "actions/checkout@v3"
- name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php }}"
extensions: "dom, curl, libxml, mbstring, zip, fileinfo"
tools: "composer:v2"
coverage: "none"
- name: "Install dependencies from composer.json"
if: "matrix.dependencies != 'lowest'"
run: "composer update --with='laravel/framework:${{ matrix.laravel }}' --no-interaction --no-progress"
- name: "Install lowest dependencies from composer.json"
if: "matrix.dependencies == 'lowest'"
run: "composer update --with='laravel/framework:${{ matrix.laravel }}' --no-interaction --no-progress --prefer-lowest"
- name: "Run PHPStan"
run: ./vendor/bin/phpstan