Skip to content

Commit

Permalink
Merge pull request #204 from andreiio/laravel-8-support
Browse files Browse the repository at this point in the history
Laravel 8 support
  • Loading branch information
lorisleiva committed Sep 10, 2020
2 parents f0b0e6d + 919bcfe commit 7ad1120
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5,395 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ jobs:
strategy:
fail-fast: false
matrix:
laravel: [8.*, 7.*, 6.*, 5.8]
php: [7.4, 7.3] # Add 7.2 and 7.1 if you want
os: [ubuntu-latest]

name: PHP${{ matrix.php }} on ${{ matrix.os }}
name: Laravel ${{ matrix.laravel }} PHP${{ matrix.php }} on ${{ matrix.os }}
container:
image: lorisleiva/laravel-docker:${{ matrix.php }}
steps:
Expand All @@ -27,10 +28,11 @@ jobs:
uses: actions/cache@v1
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

- name: Install dependencies
run: |
composer require --prefer-dist --no-progress --no-suggest --no-interaction "illuminate/support:${{ matrix.laravel }}"
composer install --prefer-dist --no-progress --no-suggest --no-interaction
- name: Run tests
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/vendor/
/tests/fixtures/tmp/
.phpunit.result.cache
composer.lock
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"require": {
"deployer/deployer": "^6.1",
"deployer/recipes": "^6.0",
"illuminate/support": "^5.8|^6.0|^7.0"
"illuminate/support": "^5.8|^6.0|^7.0|^8.0"
},
"require-dev": {
"orchestra/testbench": "~5.0"
"orchestra/testbench": "^3.8|^4.0|^5.0|^6.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 7ad1120

Please sign in to comment.