Skip to content

Commit

Permalink
Merge 7b8ce84 into 52a7854
Browse files Browse the repository at this point in the history
  • Loading branch information
Okipa committed Jan 22, 2023
2 parents 52a7854 + 7b8ce84 commit 6091737
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 24 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@ jobs:
strategy:
fail-fast: true
matrix:
php: ['8.2', '8.1']
laravel: ['9.*', '8.*']
php: ['8.1', '8.2']
laravel: ['9.*', '10.*']
include:
- laravel: '9.*'
testbench: '7.*'
larastan: '2.*'
- laravel: '8.*'
testbench: '6.*'
larastan: '1.*'
- laravel: '10.*'
testbench: '8.*'

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

Expand Down Expand Up @@ -51,26 +49,26 @@ jobs:
# Lower PHP and laravel versions.

- name: PHPUnit without code coverage
if: matrix.php != '8.2' || matrix.laravel != '9.*'
if: matrix.php != '8.2' || matrix.laravel != '10.*'
run: vendor/bin/testbench package:test --parallel --no-coverage

# Last PHP and laravel versions.

- name: Code analysis
if: matrix.php == '8.2' && matrix.laravel == '9.*'
if: matrix.php == '8.2' && matrix.laravel == '10.*'
run: |
vendor/bin/pint --test -vvv
vendor/bin/phpmd config,src,tests text phpmd.xml
vendor/bin/phpstan analyse
- name: PHPUnit with code coverage
if: matrix.php == '8.2' && matrix.laravel == '9.*'
if: matrix.php == '8.2' && matrix.laravel == '10.*'
run: |
mkdir -p build/logs
vendor/bin/testbench package:test --parallel --coverage-text --coverage-clover build/logs/clover.xml
- name: Code coverage upload to Coveralls
if: env.COVERALLS_REPO_TOKEN && matrix.php == '8.2' && matrix.laravel == '9.*'
if: env.COVERALLS_REPO_TOKEN && matrix.php == '8.2' && matrix.laravel == '10.*'
env:
COVERALLS_RUN_LOCALLY: 1
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [2.4.0](https://github.com/Okipa/laravel-stuck-jobs-notifier/compare/2.3.0...2.4.0)

2023-01-22

* Added Laravel 10 support
* Dropped Laravel 8 support
* Locked PHP versions to 8.1 and 8.2

## [2.3.0](https://github.com/Okipa/laravel-stuck-jobs-notifier/compare/2.2.2...2.3.0)

2022-12-16
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ Found this package helpful? Please consider supporting my work!

## Compatibility

| Laravel version | PHP version | Package version |
|---|---|---|
| ^8.0 | ^9.0 | ^8.1 | ^8.2 | ^2.3 |
| ^8.0 | ^9.0 | ^8.0 | ^8.1 | ^2.2 |
| ^7.0 | ^8.0 | ^7.4 | ^8.0 | ^2.1 |
| ^7.0 | ^8.0 | ^7.4 | ^2.0 |
| ^6.0 | ^7.0 | ^7.4 | ^1.0 |
| Laravel version | PHP version | Package version |
|-------------------|--------------------|-----------------|
| ^9.0 | ^10.0 | 8.1.* | 8.2.* | ^2.4 |
| ^8.0 | ^9.0 | ^8.1 | ^8.2 | ^2.3 |
| ^8.0 | ^9.0 | ^8.0 | ^8.1 | ^2.2 |
| ^7.0 | ^8.0 | ^7.4 | ^8.0 | ^2.1 |
| ^7.0 | ^8.0 | ^7.4 | ^2.0 |
| ^6.0 | ^7.0 | ^7.4 | ^1.0 |

## Upgrade guide

Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@
}
],
"require": {
"php": "^8.1|^8.2",
"illuminate/contracts": "^8.0|^9.0"
"php": "8.1.*|8.2.*",
"illuminate/contracts": "^9.0|^10.0"
},
"require-dev": {
"brianium/paratest": "^6.4",
"laravel-notification-channels/webhook": "^2.3",
"laravel/slack-notification-channel": "^2.4",
"nunomaduro/collision": "^5.10|^6.0",
"nunomaduro/larastan": "^1.0|^2.0",
"orchestra/testbench": "^6.0|^7.0",
"laravel-notification-channels/webhook": "^2.4",
"laravel/slack-notification-channel": "^2.5",
"nunomaduro/collision": "^6.0",
"nunomaduro/larastan": "^2.0",
"orchestra/testbench": "^7.0|^8.0",
"phpmd/phpmd": "^2.11",
"roave/security-advisories": "dev-latest",
"laravel/pint": "^1.1"
Expand Down

0 comments on commit 6091737

Please sign in to comment.