Skip to content

Commit 9fce3d6

Browse files
committed
add php 8.0-8.4 to tests
1 parent 371bddc commit 9fce3d6

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/test.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,31 @@ jobs:
1717
- 7.2
1818
- 7.3
1919
- 7.4
20-
composer-args: [ "" ]
21-
include:
22-
- php: 8.0
23-
composer-args: --ignore-platform-reqs
20+
- 8.0
21+
- 8.1
22+
- 8.2
23+
- 8.3
24+
- 8.4
2425
fail-fast: false
2526

2627
steps:
2728
- name: Checkout
28-
uses: actions/checkout@v2
29+
uses: actions/checkout@v4
2930

3031
- name: Install PHP
3132
uses: shivammathur/setup-php@v2
3233
with:
3334
php-version: ${{ matrix.php }}
3435

3536
- name: Cache PHP dependencies
36-
uses: actions/cache@v2
37+
uses: actions/cache@v4
3738
with:
3839
path: vendor
3940
key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
4041
restore-keys: ${{ runner.os }}-php-${{ matrix.php }}-composer-
4142

4243
- name: Install dependencies
43-
run: composer install --prefer-dist --no-progress --no-suggest ${{ matrix.composer-args }}
44+
run: composer install --prefer-dist --no-progress --no-suggest
4445

4546
- name: Tests
46-
run: composer test
47+
run: composer test

0 commit comments

Comments
 (0)