1
0
Fork 0
mirror of https://github.com/archtechx/template.git synced 2025-12-13 22:04:04 +00:00

Merge pull request #2 from abrardev99/l9-support

Support Laravel 9.
This commit is contained in:
Samuel Štancl 2022-01-20 19:39:32 +01:00 committed by GitHub
commit be6f99ab2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

View file

@ -13,15 +13,19 @@ on:
jobs:
pest:
name: Tests (Pest)
name: Tests (Pest) L${{ matrix.laravel }}
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
laravel: [9, 8]
steps:
- uses: actions/checkout@v2
- name: Start docker containers
run: docker-compose up -d
- name: Install composer dependencies
run: composer install
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
- name: Run tests
run: vendor/bin/pest

View file

@ -21,10 +21,10 @@
},
"require": {
"php": "^8.0",
"illuminate/support": "^8.24"
"illuminate/support": "^8.24|^9.0"
},
"require-dev": {
"orchestra/testbench": "^6.9",
"orchestra/testbench": "^6.9|^7.0",
"nunomaduro/larastan": "^0.6.10",
"pestphp/pest": "^1.2",
"pestphp/pest-plugin-laravel": "^1.0"
@ -35,5 +35,7 @@
"ArchTech\\REPLACE\\PackageServiceProvider"
]
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}