Skip to content

Commit 67dc6f5

Browse files
Github Action Tweaks
Adding dev package requirements. Some of the dev tools to help with code improvement do not support PHP 8.0. Change removing unneeded packages for testing in GitHub Actions.
1 parent 2111ea1 commit 67dc6f5

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ on:
44
push:
55
branches:
66
- master
7+
- 9.x
78
pull_request:
89

910
jobs:
1011
tests:
1112
runs-on: ubuntu-latest
1213
strategy:
13-
fail-fast: false
14+
fail-fast: true
1415
matrix:
1516
php: [8.0, 8.1, 8.2]
1617
laravel: [^9, ^10]
@@ -35,6 +36,10 @@ jobs:
3536

3637
- name: Install dependencies
3738
run: |
39+
composer remove nunomaduro/larastan --dev --no-update
40+
composer remove orchestra/testbench --dev --no-update
41+
composer remove tightenco/duster --dev --no-update
42+
composer remove laravel/pint --dev --no-update
3843
composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update
3944
composer require "illuminate/database=${{ matrix.laravel }}" --no-update
4045
composer require "illuminate/support=${{ matrix.laravel }}" --no-update

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,12 @@
3535
"laravel/scout": "^9|^10"
3636
},
3737
"require-dev": {
38+
"laravel/pint": "^1.10",
39+
"mockery/mockery": "^1.5",
40+
"nunomaduro/larastan": "^2.6",
41+
"orchestra/testbench": "^8.5",
3842
"phpunit/phpunit": "^9.6",
39-
"mockery/mockery": "^1.5"
43+
"tightenco/duster": "^2.0"
4044
},
4145
"autoload": {
4246
"psr-4": {

0 commit comments

Comments
 (0)