Skip to content

Commit db07059

Browse files
committed
Add PHP 8.4 support
1 parent 9578223 commit db07059

File tree

2 files changed

+5
-43
lines changed

2 files changed

+5
-43
lines changed

.github/workflows/run-tests.yml

Lines changed: 5 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -6,45 +6,31 @@ on:
66

77
jobs:
88
psalm:
9-
109
runs-on: ubuntu-latest
11-
12-
13-
1410
steps:
15-
- uses: actions/checkout@v2
16-
17-
11+
- uses: actions/checkout@v4
1812

1913
- name: Setup PHP
2014
uses: shivammathur/setup-php@v2
2115
with:
2216
php-version: '8.0'
2317
coverage: none
2418

25-
26-
2719
- name: Validate composer.json and composer.lock
2820
run: composer validate
2921

30-
31-
3222
- name: Install dependencies
3323
run: composer install --no-progress --no-ansi
3424

35-
36-
3725
- name: Run Psalm
3826
run: composer run-script psalm
3927

4028
tests:
41-
4229
runs-on: ubuntu-latest
43-
4430
strategy:
4531
fail-fast: false
4632
matrix:
47-
php: [8.0, 8.1, 8.2, 8.3]
33+
php: [8.0, 8.1, 8.2, 8.3, 8.4]
4834
laravel: ['8.*', '9.*', '10.*', '11.*', '12.*']
4935
include:
5036
- laravel: 8.*
@@ -70,70 +56,47 @@ jobs:
7056
php: 8.1
7157

7258
name: Laravel ${{ matrix.laravel }} with PHP ${{ matrix.php }}
73-
74-
75-
7659
steps:
7760
- name: Checkout code
78-
uses: actions/checkout@v2
79-
80-
61+
uses: actions/checkout@v4
8162

8263
- name: Setup PHP
8364
uses: shivammathur/setup-php@v2
8465
with:
8566
php-version: ${{ matrix.php }}
8667
coverage: none
8768

88-
89-
9069
- name: Install dependencies
9170
run: |
9271
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
9372
composer require "orchestra/testbench:${{ matrix.testbench }}" --dev --no-interaction --no-update
9473
composer update --prefer-dist --no-interaction
9574
96-
97-
9875
- name: Execute tests
9976
run: composer run-script test
10077

10178
coverage:
102-
10379
name: Coverage
104-
10580
needs:
10681
- tests
107-
10882
runs-on: ubuntu-latest
109-
110-
111-
11283
steps:
113-
- uses: actions/checkout@v2
114-
115-
84+
- uses: actions/checkout@v4
11685

11786
- name: Setup PHP
11887
uses: shivammathur/setup-php@v2
11988
with:
12089
php-version: 8.0
12190
coverage: xdebug
12291

123-
124-
12592
- name: Validate composer.json and composer.lock
12693
run: composer validate
12794

128-
129-
13095
- name: Install dependencies
13196
run: composer install --prefer-dist --no-interaction
13297

133-
134-
13598
- name: Run test suite
136-
uses: paambaati/codeclimate-action@v5.0.0
99+
uses: paambaati/codeclimate-action@v9
137100
env:
138101
CC_TEST_REPORTER_ID: ${{ secrets.CC_REPORTER_ID }}
139102
with:

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"require-dev": {
3333
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0",
3434
"pestphp/pest": "^v1.0|^v2.0|^3.7",
35-
"psalm/plugin-laravel": "^2.0",
3635
"vimeo/psalm": "^5.0|^6.7"
3736
},
3837
"autoload": {

0 commit comments

Comments
 (0)