File tree Expand file tree Collapse file tree 3 files changed +21
-14
lines changed Expand file tree Collapse file tree 3 files changed +21
-14
lines changed Original file line number Diff line number Diff line change @@ -4,24 +4,33 @@ on: [ push, pull_request ]
4
4
5
5
jobs :
6
6
test :
7
- runs-on : ${{ matrix.os }}
7
+ runs-on : ubuntu-latest
8
8
strategy :
9
9
fail-fast : true
10
10
matrix :
11
- os : [ ubuntu-latest ]
12
- php : [ 7.2, 7.3, 7.4, 8.0 ]
13
- laravel : [ 6.*, 7.*, 8.* ]
11
+ php : [ 8.0, 8.1 ]
12
+ laravel : [ 8.*, 9.* ]
14
13
dependency-version : [ prefer-stable ]
15
14
include :
16
15
- laravel : 6.*
16
+ php : 7.2
17
+ testbench : 4.*
18
+ - laravel : 6.*
19
+ php : 8.0
17
20
testbench : 4.*
18
21
- laravel : 7.*
22
+ php : 7.2
23
+ testbench : 5.*
24
+ - laravel : 7.*
25
+ php : 8.0
19
26
testbench : 5.*
20
27
- laravel : 8.*
28
+ php : 7.3
21
29
testbench : 6.*
22
- exclude :
23
30
- laravel : 8.*
24
- php : 7.2
31
+ testbench : 6.*
32
+ - laravel : 9.*
33
+ testbench : 7.*
25
34
26
35
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
27
36
53
62
coverage : pcov
54
63
55
64
- name : Install dependencies
56
- run : |
57
- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
58
- composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
65
+ run : composer update --with="illuminate/framework:${{ matrix.laravel }}" --with="orchestra/testbench:${{ matrix.testbench }}" --prefer-dist --no-interaction --no-progress
59
66
60
67
- name : Execute tests
61
68
run : vendor/bin/phpunit --coverage-clover=coverage.xml
Original file line number Diff line number Diff line change 1
1
# Laravel Unique Translation
2
2
3
3
[ ![ GitHub release] ( https://img.shields.io/github/release/codezero-be/laravel-unique-translation.svg?style=flat-square )] ( CHANGELOG.md )
4
- [ ![ Laravel] ( https://img.shields.io/badge/laravel-8 -red?style=flat-square&logo=laravel&logoColor=white )] ( https://laravel.com )
4
+ [ ![ Laravel] ( https://img.shields.io/badge/laravel-9 -red?style=flat-square&logo=laravel&logoColor=white )] ( https://laravel.com )
5
5
[ ![ License] ( https://img.shields.io/packagist/l/codezero/laravel-unique-translation.svg?style=flat-square )] ( LICENSE.md )
6
6
[ ![ Build Status] ( https://img.shields.io/github/workflow/status/codezero-be/laravel-unique-translation/Tests/master?style=flat-square&logo=github&logoColor=white&label=tests )] ( https://github.com/codezero-be/laravel-unique-translation/actions )
7
7
[ ![ Code Coverage] ( https://img.shields.io/codacy/coverage/bb5f876fb1a94aa0a426fd31a2656e5b/master?style=flat-square )] ( https://app.codacy.com/gh/codezero-be/laravel-unique-translation )
@@ -27,7 +27,7 @@ This package also supports [`spatie/nova-translatable`](https://github.com/spati
27
27
- PHP ^7.2 or PHP ^8.0
28
28
- MySQL >= 5.6
29
29
- [ Laravel] ( https://laravel.com/ ) >= 6 (use v1.* for Laravel 5.* )
30
- - [ spatie/laravel-translatable] ( https://github.com/spatie/laravel-translatable ) ^4.4
30
+ - [ spatie/laravel-translatable] ( https://github.com/spatie/laravel-translatable ) ^4.4|^5.0
31
31
- [ spatie/nova-translatable] ( https://github.com/spatie/nova-translatable/ ) ^3.0
32
32
33
33
## 📦 Installation
Original file line number Diff line number Diff line change 22
22
}
23
23
],
24
24
"require" : {
25
- "php" : " ^7.2|| ^8.0"
25
+ "php" : " ^7.2|^8.0"
26
26
},
27
27
"require-dev" : {
28
- "orchestra/testbench" : " ^4.0|^5.0|^6.0" ,
28
+ "orchestra/testbench" : " ^4.0|^5.0|^6.0|^7.0 " ,
29
29
"phpunit/phpunit" : " ^8.0|^9.0" ,
30
- "spatie/laravel-translatable" : " ^4.4"
30
+ "spatie/laravel-translatable" : " ^4.4|^5.0 "
31
31
},
32
32
"autoload" : {
33
33
"psr-4" : {
You can’t perform that action at this time.
0 commit comments