Skip to content

Commit 1953cdc

Browse files
committed
fix version matrix
1 parent 5e93395 commit 1953cdc

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@ jobs:
2121
include:
2222
- laravel: 9.*
2323
testbench: 7.*
24-
legacy: "laravel/legacy-factories:^1.0.4"
2524
- laravel: 8.*
2625
testbench: 6.*
27-
legacy: "laravel/legacy-factories:^1.0.4"
2826

2927
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
3028

@@ -52,7 +50,7 @@ jobs:
5250

5351
- name: Install dependencies
5452
run: |
55-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" ${{ matrix.legacy }} --no-interaction --no-update
53+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
5654
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
5755
5856
- name: Execute tests

composer.json

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "astrotomic/laravel-translatable",
33
"description": "A Laravel package for multilingual models",
4-
"license": "MIT",
54
"keywords": [
65
"laravel",
76
"translation",
87
"language",
98
"database"
109
],
10+
"homepage": "https://astrotomic.info",
11+
"license": "MIT",
1112
"authors": [
1213
{
1314
"name": "Tom Witkowski",
@@ -22,35 +23,18 @@
2223
"role": "Developer"
2324
}
2425
],
25-
"homepage": "https://astrotomic.info",
26-
"support": {
27-
"email": "[email protected]",
28-
"issues": "https://github.com/Astrotomic/laravel-translatable/issues",
29-
"source": "https://github.com/Astrotomic/laravel-translatable",
30-
"docs": "https://docs.astrotomic.info/laravel-translatable"
31-
},
3226
"require": {
3327
"php": "^8.0",
3428
"illuminate/contracts": "^8.0 || ^9.0",
3529
"illuminate/database": "^8.0 || ^9.0",
3630
"illuminate/support": "^8.0 || ^9.0"
3731
},
3832
"require-dev": {
33+
"laravel/legacy-factories": "^1.0.4",
34+
"mockery/mockery": "^1.3.3",
3935
"orchestra/testbench": "^6.0 || ^7.0",
4036
"phpunit/phpunit": "^9.0"
4137
},
42-
"minimum-stability": "dev",
43-
"prefer-stable": true,
44-
"autoload": {
45-
"psr-4": {
46-
"Astrotomic\\Translatable\\": "src/Translatable/"
47-
}
48-
},
49-
"autoload-dev": {
50-
"psr-4": {
51-
"Astrotomic\\Translatable\\Tests\\": "tests/"
52-
}
53-
},
5438
"config": {
5539
"sort-packages": true
5640
},
@@ -61,9 +45,27 @@
6145
]
6246
}
6347
},
48+
"autoload": {
49+
"psr-4": {
50+
"Astrotomic\\Translatable\\": "src/Translatable/"
51+
}
52+
},
53+
"autoload-dev": {
54+
"psr-4": {
55+
"Astrotomic\\Translatable\\Tests\\": "tests/"
56+
}
57+
},
58+
"minimum-stability": "dev",
59+
"prefer-stable": true,
6460
"scripts": {
6561
"csfix": "php-cs-fixer fix --using-cache=no",
6662
"test": "vendor/bin/phpunit",
6763
"test-coverage": "vendor/bin/phpunit --coverage-html=build"
64+
},
65+
"support": {
66+
"email": "[email protected]",
67+
"issues": "https://github.com/Astrotomic/laravel-translatable/issues",
68+
"source": "https://github.com/Astrotomic/laravel-translatable",
69+
"docs": "https://docs.astrotomic.info/laravel-translatable"
6870
}
6971
}

0 commit comments

Comments
 (0)