Skip to content

Commit 0404f4f

Browse files
authored
ci: Add tests for PHP 8.5
Update GitHub Actions to use checkout@v6
1 parent a23a2bf commit 0404f4f

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v6
1414

1515
- uses: shivammathur/setup-php@v2
1616
with:
@@ -38,9 +38,12 @@ jobs:
3838
- php: '8.4'
3939
coverage: false
4040
composer-flags: '--ignore-platform-req=php'
41+
- php: '8.5'
42+
coverage: false
43+
composer-flags: '--ignore-platform-req=php'
4144

4245
steps:
43-
- uses: actions/checkout@v2
46+
- uses: actions/checkout@v6
4447

4548
- uses: shivammathur/setup-php@v2
4649
with:
@@ -53,7 +56,7 @@ jobs:
5356

5457
- name: "Use PHPUnit 9.3+ on PHP 8.0 & PHP 8.1"
5558
run: composer require --no-update --dev phpunit/phpunit:^9.3
56-
if: "matrix.php == '8.0' || matrix.php == '8.1' || matrix.php == '8.2' || matrix.php == '8.3' || matrix.php == '8.4'"
59+
if: "matrix.php == '8.0' || matrix.php == '8.1' || matrix.php == '8.2' || matrix.php == '8.3' || matrix.php == '8.4' || matrix.php == '8.5'"
5760

5861
- run: composer update --no-progress ${{ matrix.composer-flags }}
5962

@@ -71,7 +74,7 @@ jobs:
7174
runs-on: ubuntu-latest
7275

7376
steps:
74-
- uses: actions/checkout@v2
77+
- uses: actions/checkout@v6
7578

7679
- uses: shivammathur/setup-php@v2
7780
with:
@@ -89,7 +92,7 @@ jobs:
8992
runs-on: ubuntu-latest
9093

9194
steps:
92-
- uses: actions/checkout@v2
95+
- uses: actions/checkout@v6
9396

9497
- uses: shivammathur/setup-php@v2
9598
with:

0 commit comments

Comments
 (0)