16
16
17
17
steps :
18
18
- name : Checkout code
19
- uses : actions/checkout@v4
19
+ uses : actions/checkout@v3
20
20
21
21
- name : Setup PHP
22
22
uses : shivammathur/setup-php@v2
25
25
tools : composer:v2
26
26
coverage : none
27
27
28
- - name : Require PHPSpec 7.1 dependencies
29
- run : |
30
- composer require "phpspec/phpspec:^7.1@dev" --no-interaction --no-update
31
- composer update --prefer-dist --no-interaction --no-progress --ignore-platform-req=php
32
- if : " matrix.php == '8.1'"
33
-
34
28
- name : Install PHP dependencies
35
29
run : composer update --prefer-dist --no-interaction --no-progress
36
30
@@ -42,11 +36,11 @@ jobs:
42
36
runs-on : ubuntu-latest
43
37
strategy :
44
38
matrix :
45
- php : ['7.1', '7.4', '8.2 ']
39
+ php : ['8.1 ']
46
40
47
41
steps :
48
42
- name : Checkout code
49
- uses : actions/checkout@v4
43
+ uses : actions/checkout@v3
50
44
51
45
- name : Setup PHP
52
46
uses : shivammathur/setup-php@v2
56
50
coverage : none
57
51
58
52
- name : Install dependencies
59
- run : |
60
- composer require "sebastian/comparator:^3.0.2" --no-interaction --no-update
61
- composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress
53
+ run : composer update --prefer-dist --prefer-stable --prefer-lowest --no-interaction --no-progress
62
54
63
55
- name : Execute tests
64
56
run : composer test
@@ -69,16 +61,16 @@ jobs:
69
61
strategy :
70
62
matrix :
71
63
include :
72
- - symfony : ' 5'
64
+ - symfony : ' 5.4.* '
73
65
php-version : ' 8.1'
74
- - symfony : ' 6'
66
+ - symfony : ' 6.4.*'
67
+ php-version : ' 8.2'
68
+ - symfony : ' 7.0.*'
75
69
php-version : ' 8.2'
76
- - symfony : ' 7'
77
- php-version : ' 8.3'
78
70
79
71
steps :
80
72
- name : Checkout code
81
- uses : actions/checkout@v4
73
+ uses : actions/checkout@v3
82
74
83
75
- name : Setup PHP
84
76
uses : shivammathur/setup-php@v2
@@ -87,16 +79,13 @@ jobs:
87
79
tools : composer:v2
88
80
coverage : none
89
81
90
- - name : Pin old packages
91
- run : composer require "phpspec/phpspec:^2.5.8" --no-interaction --no-update
92
- if : " matrix.symfony == '2'"
93
-
94
82
- name : Install dependencies
83
+ env :
84
+ SYMFONY_REQUIRE : ${{ matrix.symfony }}
95
85
run : |
96
- composer config --no-plugins allow-plugins.symfony/flex true
97
- composer require --no-update --no-interaction --no-progress symfony/flex
98
- composer config extra.symfony.require ${{ matrix.symfony}}
99
- composer update --prefer-dist --no-interaction --prefer-stable --prefer-lowest --no-progress
86
+ composer global config --no-plugins allow-plugins.symfony/flex true
87
+ composer global require --no-progress --no-scripts --no-plugins symfony/flex
88
+ composer update --prefer-dist --no-interaction --prefer-stable --no-progress
100
89
101
90
- name : Execute tests
102
91
run : composer test
107
96
108
97
steps :
109
98
- name : Checkout code
110
- uses : actions/checkout@v4
99
+ uses : actions/checkout@v3
111
100
112
101
- name : Setup PHP
113
102
uses : shivammathur/setup-php@v2
0 commit comments