4
4
push :
5
5
pull_request :
6
6
schedule :
7
- - cron : ' 0 0 * * *'
7
+ - cron : " 0 0 * * *"
8
8
9
9
jobs :
10
10
tests :
11
11
runs-on : ubuntu-20.04
12
12
strategy :
13
13
fail-fast : true
14
14
matrix :
15
- php : [ 7.2, 7.3, 7.4, ' 8.0' , 8.1 ]
16
- laravel : [ 6, 7, 8, 9 ]
17
- stability : [' prefer-lowest', ' prefer-stable' ]
15
+ php : [7.2, 7.3, 7.4, " 8.0" , 8.1, 8.2 ]
16
+ laravel : [6, 7, 8, 9]
17
+ stability : [" prefer-lowest", " prefer-stable" ]
18
18
exclude :
19
19
- php : 7.2
20
20
laravel : 8
28
28
laravel : 6
29
29
- php : 8.1
30
30
laravel : 7
31
+ - php : 8.2
32
+ laravel : 6
33
+ - php : 8.2
34
+ laravel : 7
35
+ - php : 8.2
36
+ laravel : 8
31
37
32
38
name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} (w/ ${{ matrix.stability }})
33
39
steps :
42
48
ini-values : error_reporting=E_ALL
43
49
tools : composer:v2
44
50
coverage : none
45
-
51
+
46
52
- name : Set Minimum PHP 8.1 Versions
47
53
uses : nick-invision/retry@v1
48
54
with :
@@ -52,14 +58,23 @@ jobs:
52
58
composer require phpunit/phpunit:^9.5.8 --dev --${{ matrix.stability }} --no-update --no-interaction
53
59
composer require vlucas/phpdotenv:^5.3.1 --${{ matrix.stability }} --no-update --no-interaction
54
60
if : matrix.php >= 8.1 && matrix.stability == 'prefer-lowest'
55
-
61
+
62
+ - name : Set Minimum PHP 8.2 Versions
63
+ uses : nick-invision/retry@v1
64
+ with :
65
+ timeout_minutes : 5
66
+ max_attempts : 5
67
+ command : |
68
+ composer require nesbot/carbon:^2.62.1 --dev --${{ matrix.stability }} --no-update --no-interaction
69
+ if : matrix.php >= 8.2 && matrix.stability == 'prefer-lowest'
70
+
56
71
- name : Set Laravel version
57
72
uses : nick-invision/retry@v1
58
73
with :
59
74
timeout_minutes : 5
60
75
max_attempts : 5
61
76
command : composer require "laravel/framework=^${{ matrix.laravel }}" --no-interaction --no-update
62
-
77
+
63
78
- name : Install dependencies
64
79
uses : nick-invision/retry@v1
65
80
with :
0 commit comments