-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
35 lines (32 loc) · 745 Bytes
/
phpstan.yml
File metadata and controls
35 lines (32 loc) · 745 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
34
35
name: PHPStan check
on: pull_request
permissions:
actions: read
checks: read
contents: read
deployments: none
issues: read
packages: none
pull-requests: read
repository-projects: none
security-events: none
statuses: read
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
lfs: false
persist-credentials: false
submodules: true
- name: Install dependencies
run: composer install --dev --prefer-dist --no-progress --no-suggest
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.2'
- name: PHPStan
id: phpstan
run: composer run phpstan