88
99jobs :
1010 tests :
11- runs-on : ubuntu-20 .04
11+ runs-on : ubuntu-24 .04
1212 strategy :
1313 fail-fast : true
1414 matrix :
1515 php : [7.3, 7.4, "8.0", 8.1, 8.2, 8.3]
16- laravel : [8, 9, 10, 11]
16+ laravel : [8, 9, 10, 11, 12 ]
1717 stability : ["prefer-lowest", "prefer-stable"]
18+ include :
19+ - php : 8.4
20+ laravel : 11
21+ stability : " prefer-stable"
22+ - php : 8.4
23+ laravel : 12
24+ stability : " prefer-stable"
1825 exclude :
26+ - php : 7.3
27+ laravel : 8 # Failed security advisory
1928 - php : 7.3
2029 laravel : 9
2130 - php : 7.3
2231 laravel : 10
2332 - php : 7.3
2433 laravel : 11
34+ - php : 7.3
35+ laravel : 12
2536 - php : 7.4
2637 laravel : 9
2738 - php : 7.4
2839 laravel : 10
2940 - php : 7.4
3041 laravel : 11
42+ - php : 7.4
43+ laravel : 12
44+ - php : ' 8.0'
45+ laravel : 9 # Failed security advisory
3146 - php : ' 8.0'
3247 laravel : 10
3348 - php : ' 8.0'
3449 laravel : 11
50+ - php : ' 8.0'
51+ laravel : 12
3552 - php : 8.1
3653 laravel : 6
3754 - php : 8.1
3855 laravel : 7
3956 - php : 8.1
4057 laravel : 11
58+ - php : 8.1
59+ laravel : 12
4160 - php : 8.2
4261 laravel : 6
4362 - php : 8.2
5473 name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} (w/ ${{ matrix.stability }})
5574 steps :
5675 - name : Checkout code
57- uses : actions/checkout@v2
76+ uses : actions/checkout@v4
5877
5978 - name : Setup PHP
6079 uses : shivammathur/setup-php@v2
6685 coverage : none
6786
6887 - name : Set Minimum PHP 8.1 Versions
69- uses : nick-invision /retry@v1
88+ uses : nick-fields /retry@v3
7089 with :
7190 timeout_minutes : 5
7291 max_attempts : 5
@@ -76,32 +95,32 @@ jobs:
7695 if : matrix.php >= 8.1 && matrix.stability == 'prefer-lowest'
7796
7897 - name : Set Minimum PHP 8.2 Versions
79- uses : nick-invision /retry@v1
98+ uses : nick-fields /retry@v3
8099 with :
81100 timeout_minutes : 5
82101 max_attempts : 5
83102 command : |
84103 composer require nesbot/carbon:^2.62.1 --dev --${{ matrix.stability }} --no-update --no-interaction
85- if : matrix.php >= 8.2 && matrix.stability == 'prefer-lowest'
104+ if : matrix.php >= 8.2 && matrix.stability == 'prefer-lowest' && matrix.laravel < 12
86105
87106 - name : Set Minimum PHP 8.2 Versions and Laravel > 11
88- uses : nick-invision /retry@v1
107+ uses : nick-fields /retry@v3
89108 with :
90109 timeout_minutes : 5
91110 max_attempts : 5
92111 command : |
93- composer require phpunit/phpunit:^10.4 --dev --${{ matrix.stability }} --no-update --no-interaction
112+ composer require " phpunit/phpunit:^10.4|^11.5" --dev --${{ matrix.stability }} --no-update --no-interaction
94113 if : matrix.php >= 8.2 && matrix.stability == 'prefer-lowest' && matrix.laravel >= 11
95114
96115 - name : Set Laravel version
97- uses : nick-invision /retry@v1
116+ uses : nick-fields /retry@v3
98117 with :
99118 timeout_minutes : 5
100119 max_attempts : 5
101120 command : composer require "laravel/framework=^${{ matrix.laravel }}" --no-interaction --no-update
102121
103122 - name : Install dependencies
104- uses : nick-invision /retry@v1
123+ uses : nick-fields /retry@v3
105124 with :
106125 timeout_minutes : 5
107126 max_attempts : 5
0 commit comments