Skip to content

Commit 9c31266

Browse files
committed
- Changed dependency-stability from 'prefer-none' to 'prefer-stable' in main.yml
- Added a composer command to require specific versions of Laravel framework and Orchestra Testbench
1 parent 1a24744 commit 9c31266

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
matrix:
2222
operating-system: [ ubuntu-latest ]
2323
php-versions: [ '8.1','8.0','7.4' ]
24-
dependency-stability: [ 'prefer-none' ]
24+
dependency-stability: [ 'prefer-stable' ]
2525

2626
laravel: [ '10.*' ]
2727
include:
@@ -68,6 +68,7 @@ jobs:
6868
key: ${{ runner.OS }}-build-${{ hashFiles('**/composer.lock') }}
6969
- name: Install Laravel Dependencies
7070
run: |
71+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
7172
composer update --${{ matrix.dependency-stability }} --prefer-dist --no-interaction --no-suggest
7273
7374
- name: Update Dependencies with latest stable

0 commit comments

Comments
 (0)