Skip to content

Commit

Permalink
Update PHP version and GH action tests
Browse files Browse the repository at this point in the history
  • Loading branch information
driftingly committed Mar 6, 2024
1 parent 55ebf15 commit fe5c0d4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 20 deletions.
31 changes: 12 additions & 19 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,23 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.0, 8.1]
php: [8.3, 8.2, 8.1]
laravel: ["^11.0", "^10.0"]
dependency-version: [prefer-lowest, prefer-stable]
include:
- php: 8.0
laravel: 8.*
testbench: 7.*
phpunit: 9.*
- php: 8.1
laravel: 8.*
testbench: 7.*
phpunit: 9.*
- php: 8.0
laravel: 9.*
testbench: 7.*
phpunit: 9.*
- php: 8.1
laravel: 9.*
testbench: 7.*
phpunit: 9.*
- laravel: "^10.0"
testbench: "^8.0"
- laravel: "^11.0"
testbench: "^9.0"
exclude:
- laravel: "^11.0"
php: 8.1

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

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}
],
"require": {
"php": "^8.0|^8.1",
"php": "^8.1",
"spatie/laravel-analytics": "^5.2"
},
"require-dev": {
Expand Down

0 comments on commit fe5c0d4

Please sign in to comment.