Skip to content

Commit 6d460d7

Browse files
Test against PHP 8.4 (#36)
* Test against PHP 8.4 * chore: update CI
1 parent 7cd0168 commit 6d460d7

File tree

4 files changed

+167
-1536
lines changed

4 files changed

+167
-1536
lines changed

.github/workflows/bc-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
backwards-compatibility-check:
11-
name: Backwards Compatibility Check
11+
name: "Backwards Compatibility Check"
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v2
@@ -20,7 +20,7 @@ jobs:
2020
php-version: "8.3"
2121
- name: "Install dependencies"
2222
run: "composer install"
23-
- name: "Composer install"
24-
run: "composer install -n --prefer-dist"
23+
- name: "Install BC check"
24+
run: "composer require --dev roave/backward-compatibility-check"
2525
- name: "Check for BC breaks"
2626
run: "vendor/bin/roave-backward-compatibility-check"

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest]
16-
php: [8.1, 8.2, 8.3]
16+
php: [8.1, 8.2, 8.3, 8.4]
1717
laravel: ['10.*', '11.*']
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
@@ -45,7 +45,7 @@ jobs:
4545
4646
- name: Install dependencies
4747
run: |
48-
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.64.1" --dev --no-interaction --no-update
48+
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.64.1" --no-interaction --no-update
4949
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
5050
5151
- name: Execute tests

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"laravel/pint": "^1.0",
2828
"nunomaduro/collision": "^7.0|^8.0",
2929
"orchestra/testbench": "^8.0|^9.0",
30-
"phpunit/phpunit": "^9.5|^10.5",
31-
"roave/backward-compatibility-check": "^7.0|^8.0"
30+
"phpunit/phpunit": "^9.5|^10.5"
3231
},
3332
"autoload": {
3433
"psr-4": {

0 commit comments

Comments
 (0)