Skip to content

Commit c334981

Browse files
committed
wip
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 0d67772 commit c334981

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

.github/workflows/tests.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,13 @@ jobs:
5959
- name: Install redis-cli
6060
run: sudo apt-get install -qq redis-tools
6161

62-
- name: Install dependencies
62+
- name: Require cachewerk/relay
6363
run: |
6464
composer require cachewerk/relay --no-interaction --no-update
65+
if: matrix.php != 8.4
66+
67+
- name: Install dependencies
68+
run: |
6569
composer update --prefer-dist --no-interaction --no-progress --${{ matrix.stability }}
6670
6771
- name: Execute tests
@@ -118,9 +122,13 @@ jobs:
118122
- name: Install redis-cli
119123
run: sudo apt-get install -qq redis-tools
120124

121-
- name: Install dependencies
125+
- name: Require cachewerk/relay
122126
run: |
123127
composer require cachewerk/relay --no-interaction --no-update
128+
if: matrix.php != 8.4
129+
130+
- name: Install dependencies
131+
run: |
124132
composer update --prefer-dist --no-interaction --no-progress --${{ matrix.stability }}
125133
126134
- name: Execute tests
@@ -175,11 +183,14 @@ jobs:
175183
- name: Install redis-cli
176184
run: sudo apt-get install -qq redis-tools
177185

178-
- name: Install dependencies
186+
- name: Require cachewerk/relay
179187
run: |
180-
composer require "illuminate/contracts=^${{ matrix.laravel }}" --dev --no-update
181188
composer require cachewerk/relay --no-interaction --no-update
182-
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 }}"
183194
184195
- name: Execute tests
185196
run: vendor/bin/pest -vvv
@@ -224,9 +235,13 @@ jobs:
224235
- name: Install redis-cli
225236
run: sudo apt-get install -qq redis-tools
226237

227-
- name: Install dependencies
238+
- name: Require cachewerk/relay
228239
run: |
229240
composer require cachewerk/relay --no-interaction --no-update
241+
if: matrix.php != 8.4
242+
243+
- name: Install dependencies
244+
run: |
230245
composer update --prefer-dist --no-interaction --no-progress --${{ matrix.stability }}
231246
232247
- name: Execute tests

0 commit comments

Comments
 (0)