Skip to content

Commit b8b675e

Browse files
Update dependency versions in GitHub Actions workflow
Simplified the matrix by removing redundant testbench and carbon version specifications. Updated composer require commands to explicitly specify compatible versions for testbench and carbon. This ensures the workflow uses the correct versions during testing.
1 parent 5963d65 commit b8b675e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ jobs:
1515
os: [ubuntu-latest]
1616
php: [8.2, 8.3]
1717
laravel: [^11.0]
18-
testbench: [^9.0]
19-
carbon: [^2.63]
2018
stability: [prefer-stable]
2119

2220
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
@@ -39,7 +37,7 @@ jobs:
3937
4038
- name: Install dependencies
4139
run: |
42-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench" "nesbot/carbon" --no-interaction --no-update
40+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:^9.0" "nesbot/carbon:^2.63" --no-interaction --no-update
4341
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4442
4543
- name: List Installed Dependencies
@@ -55,8 +53,6 @@ jobs:
5553
os: [ubuntu-latest]
5654
php: [8.2, 8.3]
5755
laravel: [^12.0]
58-
testbench: [^10.0]
59-
carbon: [^3.8]
6056
stability: [prefer-stable]
6157

6258
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
@@ -79,7 +75,7 @@ jobs:
7975
8076
- name: Install dependencies
8177
run: |
82-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench" "nesbot/carbon" --no-interaction --no-update
78+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:^10.0" "nesbot/carbon:^3.8" --no-interaction --no-update
8379
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
8480
8581
- name: List Installed Dependencies

0 commit comments

Comments
 (0)