-
-
Notifications
You must be signed in to change notification settings - Fork 22
29 lines (23 loc) · 653 Bytes
/
phpstan.yml
File metadata and controls
29 lines (23 loc) · 653 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
name: PHPStan
on:
push:
paths:
- '**.php'
- 'phpstan.neon.dist'
permissions:
contents: read
jobs:
phpstan:
name: phpstan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup PHP
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # v2
with:
php-version: '8.3'
coverage: none
- name: Install composer dependencies
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # v4
- name: Run PHPStan
run: ./vendor/bin/phpstan --error-format=github