mirror of
https://github.com/archtechx/money.git
synced 2025-12-12 03:14:03 +00:00
Add Laravel 11 support (#23)
* drop L9, add L11 support * bump PHP version * bump archtechx/helpers dependency * add setup-php to all ci jobs
This commit is contained in:
parent
9ea102297d
commit
8a0eeae7c7
2 changed files with 16 additions and 8 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -16,14 +16,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
laravel: [9, 10]
|
||||
laravel: [10, 11]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.1'
|
||||
php-version: '8.2'
|
||||
- name: Install composer dependencies
|
||||
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
|
||||
- name: Run tests
|
||||
|
|
@ -35,6 +35,10 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.2'
|
||||
- name: Install composer dependencies
|
||||
run: composer install
|
||||
- name: Run phpstan
|
||||
|
|
@ -45,6 +49,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.2'
|
||||
- name: Install php-cs-fixer
|
||||
run: composer global require friendsofphp/php-cs-fixer
|
||||
- name: Run php-cs-fixer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue