|
36 | 36 | php: [8.1, 8.2, 8.3] |
37 | 37 | laravel: [10, 11] |
38 | 38 | stability: [prefer-lowest, prefer-stable] |
| 39 | + include: |
| 40 | + - php: 8.4 |
| 41 | + laravel: 11 |
| 42 | + stability: prefer-stable |
39 | 43 |
|
40 | 44 | name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Stability ${{ matrix.stability }} - MySQL 5.7 |
41 | 45 |
|
|
55 | 59 | - name: Install redis-cli |
56 | 60 | run: sudo apt-get install -qq redis-tools |
57 | 61 |
|
58 | | - - name: Install dependencies |
| 62 | + - name: Require cachewerk/relay |
59 | 63 | run: | |
60 | 64 | composer require cachewerk/relay --no-interaction --no-update |
| 65 | + if: matrix.php != 8.4 |
| 66 | + |
| 67 | + - name: Install dependencies |
| 68 | + run: | |
61 | 69 | composer update --prefer-dist --no-interaction --no-progress --${{ matrix.stability }} |
62 | 70 |
|
63 | 71 | - name: Execute tests |
@@ -114,9 +122,13 @@ jobs: |
114 | 122 | - name: Install redis-cli |
115 | 123 | run: sudo apt-get install -qq redis-tools |
116 | 124 |
|
117 | | - - name: Install dependencies |
| 125 | + - name: Require cachewerk/relay |
118 | 126 | run: | |
119 | 127 | composer require cachewerk/relay --no-interaction --no-update |
| 128 | + if: matrix.php != 8.4 |
| 129 | + |
| 130 | + - name: Install dependencies |
| 131 | + run: | |
120 | 132 | composer update --prefer-dist --no-interaction --no-progress --${{ matrix.stability }} |
121 | 133 |
|
122 | 134 | - name: Execute tests |
@@ -171,11 +183,14 @@ jobs: |
171 | 183 | - name: Install redis-cli |
172 | 184 | run: sudo apt-get install -qq redis-tools |
173 | 185 |
|
174 | | - - name: Install dependencies |
| 186 | + - name: Require cachewerk/relay |
175 | 187 | run: | |
176 | | - composer require "illuminate/contracts=^${{ matrix.laravel }}" --dev --no-update |
177 | 188 | composer require cachewerk/relay --no-interaction --no-update |
178 | | - composer update --prefer-dist --no-interaction --no-progress |
| 189 | + if: matrix.php != 8.4 |
| 190 | + |
| 191 | + - name: Install dependencies |
| 192 | + run: | |
| 193 | + composer update --prefer-dist --no-interaction --no-progress --${{ matrix.stability }} --with="illuminate/contracts=^${{ matrix.laravel }}" |
179 | 194 |
|
180 | 195 | - name: Execute tests |
181 | 196 | run: vendor/bin/pest -vvv |
@@ -220,9 +235,13 @@ jobs: |
220 | 235 | - name: Install redis-cli |
221 | 236 | run: sudo apt-get install -qq redis-tools |
222 | 237 |
|
223 | | - - name: Install dependencies |
| 238 | + - name: Require cachewerk/relay |
224 | 239 | run: | |
225 | 240 | composer require cachewerk/relay --no-interaction --no-update |
| 241 | + if: matrix.php != 8.4 |
| 242 | + |
| 243 | + - name: Install dependencies |
| 244 | + run: | |
226 | 245 | composer update --prefer-dist --no-interaction --no-progress --${{ matrix.stability }} |
227 | 246 |
|
228 | 247 | - name: Execute tests |
|
0 commit comments