Skip to content

merge: merge 0.8 into 1.0 #93

merge: merge 0.8 into 1.0

merge: merge 0.8 into 1.0 #93

name: "Static Analysis"
on:
pull_request:
concurrency:
group: sa-${{ github.head_ref || github.run_id }} # will be canceled on subsequent pushes in pull requests but not branches
cancel-in-progress: true
jobs:
static-analysis:
strategy:
fail-fast: false
matrix:
php: [8.2, 8.3]
laravel: [11]
name: "PHP ${{ matrix.php }} - L${{ matrix.laravel }}"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- 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"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Install dependencies from composer.json"
run: "composer update --with='illuminate/support:${{ matrix.laravel }}' --no-interaction --no-progress"
- name: "Run PHPStan"
run: ./vendor/bin/phpstan