Skip to content

Commit

Permalink
Merge pull request #15 from juliomotol/dependency/laravel-8.x
Browse files Browse the repository at this point in the history
Bump Laravel 8.x
  • Loading branch information
juliomotol authored Sep 10, 2020
2 parents 9695fb4 + dd9ce50 commit b8b5b32
Show file tree
Hide file tree
Showing 4 changed files with 635 additions and 347 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/l8-phpunit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Run Laravel 8.x tests

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
tests:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: [7.4, 7.3]
laravel: [8.*]
dependency: [prefer-lowest, prefer-stable]

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency }}

steps:
- name: Checkout code
uses: actions/checkout@v1

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache/files
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php }}
extension: dom, curl, libxml, mbstring, pcntl, bcmath, intl, gd, exif, iconv
coverage: none

- name: Install dependencies
run: |
composer require "illuminate/support:${{ matrix.laravel }}" "orchestra/testbench:6.*" --no-interaction --no-update
composer update --${{ matrix.dependency }} --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v2.1.0 (2020-09-11)

- Added support for Laravel 8.x

## v2.0.0 (2020-08-03)

### Breaking Changes
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@
],
"require": {
"php": "^7.2.5",
"illuminate/auth": "6.0|^7.0",
"illuminate/events": "6.0|^7.0",
"illuminate/session": "6.0|^7.0",
"illuminate/support": "^6.0|^7.0"
"illuminate/auth": "6.0|^7.0|^8.0",
"illuminate/events": "6.0|^7.0|^8.0",
"illuminate/session": "6.0|^7.0|^8.0",
"illuminate/support": "^6.0|^7.0|^8.0"
},
"require-dev": {
"orchestra/testbench": "^4.0|^5.0",
"orchestra/testbench": "^4.0|^5.0|^6.0",
"phpunit/phpunit": "^8.0|^9.0"
},
"autoload": {
"psr-4": {
"JulioMotol\\AuthTimeout\\": "src"
"JulioMotol\\AuthTimeout\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"JulioMotol\\AuthTimeout\\Tests\\": "tests"
"JulioMotol\\AuthTimeout\\Tests\\": "tests/"
}
},
"config": {
Expand Down
Loading

0 comments on commit b8b5b32

Please sign in to comment.