Skip to content

Commit

Permalink
reduce supported versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer committed Apr 17, 2024
1 parent 79f4646 commit 454fe45
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,19 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.0, 8.1, '8.2']
laravel: ['8.*', '9.*', '10.*', '11.*']
php: ['8.1', '8.2']
laravel: ['10.*', '11.*']
dependency-version: [prefer-stable]
os: [ubuntu-latest]
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

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

steps:
- name: Checkout code
uses: actions/checkout@v4.1.2
uses: actions/checkout@v4

- name: Cache dependencies
uses: actions/cache@v4
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@
"docs": "https://docs.astrotomic.info/laravel-translatable"
},
"require": {
"php": "^8.0",
"illuminate/contracts": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"illuminate/database": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0"
"php": "^8.1",
"illuminate/contracts": "^10.0 || ^11.0",
"illuminate/database": "^10.0 || ^11.0",
"illuminate/support": "^10.0 || ^11.0"
},
"require-dev": {
"laravel/legacy-factories": "^1.0.4",
"laravel/pint": "^1.15",
"mockery/mockery": "^1.3.3",
"orchestra/testbench": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"phpunit/phpunit": "^9.0 || ^10.5"
"orchestra/testbench": "^8.0 || ^9.0",
"phpunit/phpunit": "^10.5"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down

0 comments on commit 454fe45

Please sign in to comment.