-
-
Notifications
You must be signed in to change notification settings - Fork 363
33 lines (25 loc) · 692 Bytes
/
PHPStan.yml
File metadata and controls
33 lines (25 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: PHPStan
on:
push:
branches: [5.1]
pull_request:
branches: [5.1]
workflow_dispatch:
jobs:
PHPStan:
strategy:
fail-fast: false
matrix:
php_versions: ['8.1', '8.2', '8.3', '8.4']
runs-on: ubuntu-latest
name: PHPStan - ${{ matrix.php_versions }}
steps:
- uses: actions/checkout@v4
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_versions }}
- name: Install Dependencies
run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Run PHPStan
run: vendor/bin/phpstan analyse