Added support for L12 #7
No files matched your search
@@ -16,14 +16,27 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
php: [8.4, 8.3]
|
||||
laravel: [11.*]
|
||||
os: [ubuntu-latest]
|
||||
php: [8.3, 8.4]
|
||||
laravel: [11.*, 12.*]
|
||||
stability: [prefer-lowest, prefer-stable]
|
||||
include:
|
||||
- laravel: 11.*
|
||||
php: 8.3
|
||||
testbench: 9.*
|
||||
carbon: ^2.63
|
||||
- laravel: 11.*
|
||||
php: 8.4
|
||||
testbench: 9.*
|
||||
carbon: ^2.63
|
||||
- laravel: 12.*
|
||||
php: 8.3
|
||||
testbench: 10.*
|
||||
carbon: ^3.8.4
|
||||
- laravel: 12.*
|
||||
php: 8.4
|
||||
testbench: 10.*
|
||||
carbon: ^3.8.4
|
||||
|
||||
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
|
||||
|
||||
@@ -43,9 +56,18 @@ jobs:
|
||||
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
|
||||
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
|
||||
|
||||
- name: Remove Larastan if Laravel 12
|
||||
if: startsWith(matrix.laravel, '12.')
|
||||
run: composer remove larastan/larastan --dev --no-update || true
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.os == 'windows-latest' && '^^^' || '' }}${{ matrix.carbon }}" --no-interaction --no-update
|
||||
composer require \
|
||||
"laravel/framework:${{ matrix.laravel }}" \
|
||||
"orchestra/testbench:${{ matrix.testbench }}" \
|
||||
"nesbot/carbon:${{ matrix.carbon }}" \
|
||||
--no-interaction --no-update
|
||||
|
||||
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
|
||||
|
||||
- name: List Installed Dependencies
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
A Laravel package for proxying Plausible Analytics, improving performance.
|
||||
|
||||
## Requirements
|
||||
- Laravel 11
|
||||
- PHP 8.3+
|
||||
- Laravel 12
|
||||
- PHP 8.3, 8.4
|
||||
|
||||
## 🚀 Installation
|
||||
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
"require": {
|
||||
"php": "^8.3",
|
||||
"spatie/laravel-package-tools": "^1.16",
|
||||
"illuminate/contracts": "^10.0||^11.0"
|
||||
"illuminate/contracts": "^10.0||^11.0||^12.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"laravel/pint": "^1.14",
|
||||
|
||||
Reference in new issue
Block a user