Skip to content

Commit

Permalink
Merge pull request #17 from martbock/laravel-10
Browse files Browse the repository at this point in the history
Support Laravel 10
  • Loading branch information
martbock committed Mar 5, 2023
2 parents ba48c1e + b8a464e commit 15abfff
Show file tree
Hide file tree
Showing 5 changed files with 7,716 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Extract branch name
shell: bash
Expand All @@ -23,15 +23,15 @@ jobs:
- name: Setup PHP with Xdebug
uses: shivammathur/setup-php@v2
with:
php-version: "8"
php-version: "8.2"
coverage: xdebug

- name: Validate composer.json and composer.lock
run: composer validate

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
Expand All @@ -53,7 +53,7 @@ jobs:
filename: "coverage.xml"

- name: Publish code coverage
uses: paambaati/codeclimate-action@v3.0.0
uses: paambaati/codeclimate-action@v3.2.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_REPORTER_ID }}
with:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Composer
vendor/
composer.lock

# PHPUnit
.phpunit.result.cache
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
}
},
"require": {
"php": "^7.4|^8.0"
"php": "^8.0"
},
"require-dev": {
"orchestra/testbench": "6.*|7.*",
"laravel/framework": "^8.0|^9.0",
"phpunit/phpunit": "^9.5"
"orchestra/testbench": "8.*",
"laravel/framework": "^9.0|^10.0",
"phpunit/phpunit": "^9.5|10.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 15abfff

Please sign in to comment.