-
-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (27 loc) · 703 Bytes
/
phpstan.yaml
File metadata and controls
33 lines (27 loc) · 703 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:
pull_request:
push:
branches:
- main
- release/**
permissions:
contents: read
jobs:
phpstan-agent:
name: PHPStan (agent)
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./agent
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Setup PHP
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # pin@2.32.0
with:
php-version: '8.4'
- name: Install dependencies
run: composer update --no-progress --no-interaction --prefer-dist
- name: Run script
run: vendor/bin/phpstan analyse