Feature laravel 9 (#22)
* Support Laravel 9 * Build and test using PHP 8.1
This commit is contained in:
parent
7dfaac06e4
commit
d237909b6d
|
@ -15,7 +15,7 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-version: ['7.4', '8.0']
|
php-version: ['7.4', '8.0', '8.1']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -55,7 +55,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run SonarQube analysis
|
- name: Run SonarQube analysis
|
||||||
uses: sonarsource/sonarcloud-github-action@master
|
uses: sonarsource/sonarcloud-github-action@master
|
||||||
if: matrix.php-version == '8.0'
|
if: matrix.php-version == '8.1'
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.4|^8.0",
|
"php": "^7.4|^8.0",
|
||||||
"illuminate/config": "~7.0|~8.0",
|
"illuminate/config": "~7.0|~8.0|~9.0",
|
||||||
"illuminate/support": "~7.0|~8.0",
|
"illuminate/support": "~7.0|~8.0|~9.0",
|
||||||
"php-mqtt/client": "^1.0"
|
"php-mqtt/client": "^1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
|
Loading…
Reference in New Issue