Skip to content

Commit

Permalink
Laravel 11.x Compatibility (#93)
Browse files Browse the repository at this point in the history
* Bump dependencies for Laravel 11

* Update GitHub Actions for Laravel 11
  • Loading branch information
laravel-shift authored Mar 9, 2024
1 parent 56b1818 commit 8db8b6a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
name: CI laravel-ovh
on: [push, pull_request]

on:
- push
- pull_request

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [8.1]
illuminate: [10.*]
php: [8.1, '8.2']
illuminate: ['10.*']
dependency-version: [prefer-stable]

name: P${{ matrix.php }} - L${{ matrix.illuminate }} - ${{ matrix.dependency-version }}
Expand All @@ -19,6 +24,7 @@ jobs:
- name: Detect Composer Cache Directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Setup Composer Cache
uses: actions/cache@v2
with:
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
},
"require": {
"php": "^8.1",
"illuminate/console": "^10.0",
"illuminate/support": "^10.0",
"illuminate/console": "^10.0|^11.0",
"illuminate/support": "^10.0|^11.0",
"nimbusoft/flysystem-openstack-swift": "^1.5"
},
"require-dev": {
"phpunit/phpunit": "^9.5.10",
"phpunit/phpunit": "^9.5.10|^10.5",
"mockery/mockery": "^1.4.4",
"friendsofphp/php-cs-fixer": "^3.14",
"orchestra/testbench": "^8.0"
"orchestra/testbench": "^8.0|^9.0"
},
"extra": {
"laravel": {
Expand Down

0 comments on commit 8db8b6a

Please sign in to comment.