-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 814 Bytes
/
phpstan.yml
File metadata and controls
39 lines (32 loc) · 814 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
36
37
38
39
name: PHPStan
on:
push:
branches:
- main
paths:
- '**.php'
- 'phpstan.neon'
- '.github/workflows/phpstan.yml'
pull_request:
paths:
- '**.php'
- 'phpstan.neon'
- '.github/workflows/phpstan.yml'
concurrency:
group: phpstan-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
phpstan:
name: phpstan
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
php-version: '8.4'
- name: Install composer dependencies
run: composer install -q --no-interaction --no-progress
- name: Run PHPStan
run: ./vendor/bin/phpstan --error-format=github