22
22
name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} (w/ ${{ matrix.stability }})
23
23
steps :
24
24
- name : Checkout code
25
- uses : actions/checkout@v2
25
+ uses : actions/checkout@v4
26
26
27
27
- name : Setup PHP
28
28
uses : shivammathur/setup-php@v2
34
34
coverage : none
35
35
36
36
- name : Set Minimum PHP 8.1 Versions
37
- uses : nick-invision/retry@v1
37
+ uses : nick-invision/retry@v3
38
38
with :
39
39
timeout_minutes : 5
40
40
max_attempts : 5
44
44
if : matrix.php >= 8.1 && matrix.stability == 'prefer-lowest'
45
45
46
46
- name : Set Minimum PHP 8.2 Versions
47
- uses : nick-invision/retry@v1
47
+ uses : nick-invision/retry@v3
48
48
with :
49
49
timeout_minutes : 5
50
50
max_attempts : 5
@@ -53,23 +53,24 @@ jobs:
53
53
if : matrix.php >= 8.2 && matrix.stability == 'prefer-lowest'
54
54
55
55
- name : Set Minimum PHP 8.2 Versions and Laravel > 11
56
- uses : nick-invision/retry@v1
56
+ uses : nick-invision/retry@v3
57
57
with :
58
58
timeout_minutes : 5
59
59
max_attempts : 5
60
60
command : |
61
+ composer require orchestra/testbench:^9.2 --dev --${{ matrix.stability }} --no-update --no-interaction
61
62
composer require phpunit/phpunit:^10.4 --dev --${{ matrix.stability }} --no-update --no-interaction
62
63
if : matrix.php >= 8.2 && matrix.stability == 'prefer-lowest' && matrix.laravel >= 11
63
64
64
65
- name : Set Laravel version
65
- uses : nick-invision/retry@v1
66
+ uses : nick-invision/retry@v3
66
67
with :
67
68
timeout_minutes : 5
68
69
max_attempts : 5
69
70
command : composer require "laravel/framework=^${{ matrix.laravel }}" --no-interaction --no-update
70
71
71
72
- name : Install dependencies
72
- uses : nick-invision/retry@v1
73
+ uses : nick-invision/retry@v3
73
74
with :
74
75
timeout_minutes : 5
75
76
max_attempts : 5
0 commit comments