-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (40 loc) · 1.02 KB
/
Copy pathpush.yml
File metadata and controls
46 lines (40 loc) · 1.02 KB
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
40
41
42
43
44
45
46
name: PHP Checks
on: [pull_request]
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: PHPStan
uses: docker://oskarstark/phpstan-ga
with:
args: analyse -c phpstan.neon.dist
bc-check:
name: Backward Compatibility Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Backward Compatibility Check
uses: docker://nyholm/roave-bc-check-ga
with:
args: --from=v0.7
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --diff --dry-run
rex-lint:
name: REX Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup PHP
uses: shivammathur/setup-php@master
with:
php-version: 7.1
- run: composer require --dev friendsofredaxo/linter && vendor/bin/rexlint