Skip to content

Commit

Permalink
Add support for Laravel 9. (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
abrardev99 authored Feb 3, 2022
1 parent 20f55c3 commit 2480e53
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
name: CI

env:
COMPOSE_INTERACTIVE_NO_CLI: 1
PHP_CS_FIXER_IGNORE_ENV: 1
MYSQL_PORT: 3307
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

on:
push:
pull_request:
branches: [ master ]

jobs:
pest:
name: Tests (Pest)
name: Tests (Pest) L${{ matrix.laravel }}
runs-on: ubuntu-latest
strategy:
matrix:
laravel: [8, 9]

steps:
- uses: actions/checkout@v2
- name: Install composer dependencies
run: composer install
run: composer require "laravel/framework:^${{matrix.laravel}}.0"
- name: Run tests
run: vendor/bin/pest

Expand Down
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
},
"require": {
"php": "^8.0",
"illuminate/support": "^8.24",
"imliam/laravel-blade-helper": "^1.0"
"illuminate/support": "^8.24|^9.0",
"imliam/laravel-blade-helper": "^1.4"
},
"require-dev": {
"orchestra/testbench": "^6.23",
"orchestra/testbench": "^6.23|^7.0",
"nunomaduro/larastan": "^1.0",
"pestphp/pest": "^1.2",
"pestphp/pest-plugin-laravel": "^1.0",
Expand All @@ -40,5 +40,7 @@
"ArchTech\\SEO\\SEOServiceProvider"
]
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit 2480e53

Please sign in to comment.