16
16
- name : Checkout
17
17
uses : actions/checkout@v2
18
18
19
+ - name : Install PHP
20
+ uses : shivammathur/setup-php@v2
21
+ with :
22
+ php-version : 7.4
23
+ coverage : none
24
+
19
25
- name : Run friendsofphp/php-cs-fixer
20
- run : php7.4 ./tools/php-cs-fixer fix --diff-format=udiff --dry-run --show-progress=dots --using-cache=no --verbose
26
+ run : ./tools/php-cs-fixer fix --diff-format=udiff --dry-run --show-progress=dots --using-cache=no --verbose
21
27
22
28
type-checker :
23
29
name : Type Checker
@@ -28,14 +34,20 @@ jobs:
28
34
- name : Checkout
29
35
uses : actions/checkout@v2
30
36
37
+ - name : Install PHP
38
+ uses : shivammathur/setup-php@v2
39
+ with :
40
+ php-version : 7.4
41
+ coverage : none
42
+
31
43
- name : Update dependencies with composer
32
- run : php7.4 ./tools/composer update --no-interaction --no-ansi --no-progress --no-suggest
44
+ run : ./tools/composer update --no-interaction --no-ansi --no-progress --no-suggest
33
45
34
46
- name : Run vimeo/psalm on public API
35
- run : php7.4 ./tools/psalm --config=.psalm/static-analysis.xml --no-progress --show-info=false
47
+ run : ./tools/psalm --config=.psalm/static-analysis.xml --no-progress --show-info=false
36
48
37
49
- name : Run vimeo/psalm on internal code
38
- run : php7.4 ./tools/psalm --config=.psalm/config.xml --no-progress --shepherd --show-info=false --stats
50
+ run : ./tools/psalm --config=.psalm/config.xml --no-progress --shepherd --show-info=false --stats
39
51
40
52
backward-compatibility :
41
53
name : Backward Compatibility
@@ -51,15 +63,15 @@ jobs:
51
63
- name : Fetch tags
52
64
run : git fetch --depth=1 origin +refs/tags/*:refs/tags/*
53
65
54
- - name : " Install PHP with extensions"
66
+ - name : Install PHP with extensions
55
67
uses : shivammathur/setup-php@v2
56
68
with :
57
69
php-version : 7.4
58
70
coverage : none
59
71
extensions : intl
60
72
61
73
- name : Run roave/backward-compatibility-check
62
- run : php ./tools/roave-backward-compatibility-check --from=8.5.0
74
+ run : ./tools/roave-backward-compatibility-check --from=8.5.0
63
75
64
76
lint-xml-configuration :
65
77
name : Lint XML Configuration
98
110
- name : Checkout
99
111
uses : actions/checkout@v2
100
112
101
- - name : " Install PHP with extensions"
113
+ - name : Install PHP with extensions
102
114
uses : shivammathur/setup-php@v2
103
115
with :
104
116
php-version : ${{ matrix.php-version }}
0 commit comments