Skip to content

Commit

Permalink
Added Carbon v3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 committed Apr 25, 2024
1 parent 9096f68 commit 97a98ef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ jobs:
matrix:
php: [ '8.0', '8.1', '8.2', '8.3' ]
laravel: [ '9.2', '9.52', '10.0', '10.48', '11.0']
carbon: ['2.x', '3.x']
exclude:
- php: '8.0'
laravel: '10.0'
- php: '8.0'
laravel: '10.48'
- php: '8.0'
laravel: '11.0'
- php: '8.0'
carbon: '2.x'
- php: '8.1'
laravel: '11.0'
name: PHP ${{ matrix.php }} Laravel ${{ matrix.laravel }}
Expand Down Expand Up @@ -57,7 +60,9 @@ jobs:
tools: composer:v2
- name: Lock Package Versions
run: |
composer require "illuminate/support:${{ matrix.laravel }}.*" --no-update -v && composer require "illuminate/console:${{ matrix.laravel }}.*" --no-update -v
composer require "illuminate/support:${{ matrix.laravel }}.*" --no-update -v && \
composer require "illuminate/console:${{ matrix.laravel }}.*" --no-update -v && \
composer require "nesbot/carbon:${{ matrix.carbon }}.*" --no-update -v && \
- name: Testbench Version Adjustments
run: |
is_smaller_version() [[ $(echo -e "$1\n$2"|sort -V|head -1) != $2 ]]
Expand Down
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Konekt Search Changelog

## Unreleased
#### 2024-XX-YY

- Added Carbon v3 support

## 1.3.0
#### 2024-01-08

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"php": "^8.0",
"ext-pdo": "*",
"laravel/framework": "^9.0|^10.0|^11.0",
"nesbot/carbon": "^2.66"
"nesbot/carbon": "^2.66|^3.0"
},
"require-dev": {
"mockery/mockery": "^1.4.4",
Expand Down

0 comments on commit 97a98ef

Please sign in to comment.