Skip to content

Commit 34498af

Browse files
Laravel 13.x Compatibility (#289)
* Bump dependencies for Laravel 13 * Update GitHub Actions for Laravel 13
1 parent dd41567 commit 34498af

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- master
7-
- '*.x'
7+
- *.x
88
pull_request:
99
schedule:
1010
- cron: '0 0 * * *'
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: true
1818
matrix:
1919
php: [8.1, 8.2, 8.3, 8.4]
20-
laravel: [10, 11, 12]
20+
laravel: [10, 11, 12, '13']
2121
include:
2222
- php: 8.2
2323
laravel: 9
@@ -49,13 +49,19 @@ jobs:
4949
laravel: 6
5050
- php: 7.2
5151
laravel: 6
52+
- php: '8.3'
53+
laravel: '13'
5254
exclude:
5355
- php: 8.1
5456
laravel: 11
5557
- php: 8.1
5658
laravel: 12
5759
- php: 8.4
5860
laravel: 10
61+
- laravel: '13'
62+
php: 8.1
63+
- laravel: '13'
64+
php: 8.2
5965

6066
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
6167

@@ -74,13 +80,13 @@ jobs:
7480

7581
- name: Install dependencies
7682
run: |
77-
composer require --no-update
78-
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}"
83+
composer require --no-update
84+
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}"
7985
8086
- name: Execute tests (display deprecations)
8187
run: vendor/bin/phpunit --display-deprecations --fail-on-deprecation
82-
if: matrix.laravel >= 10
83-
88+
if: 'matrix.laravel >= 10'
89+
8490
- name: Execute tests
8591
run: vendor/bin/phpunit
86-
if: matrix.laravel < 10
92+
if: 'matrix.laravel < 10'

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"name": "laravel/envoy",
33
"description": "Elegant SSH tasks for PHP.",
4-
"keywords": ["ssh", "laravel"],
4+
"keywords": [
5+
"ssh",
6+
"laravel"
7+
],
58
"license": "MIT",
69
"authors": [
710
{
@@ -12,7 +15,7 @@
1215
"require": {
1316
"php": "^7.2|^8.0",
1417
"guzzlehttp/guzzle": "^6.0|^7.0",
15-
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0",
18+
"illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0",
1619
"symfony/console": "^4.3|^5.0|^6.0|^7.0",
1720
"symfony/process": "^4.3|^5.0|^6.0|^7.0"
1821
},

0 commit comments

Comments
 (0)