Skip to content

Commit ed8c7c2

Browse files
committed
GH Actions: various updates
1. Start running tests against PHP 8.4 (expected to be release end of November). 2. Update the `actions/checkout` action runner. 3. Update the `ramsey/composer-install` action runner. 4. Fix an outdated link.
1 parent 862287a commit ed8c7c2

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/test.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
php: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
21+
php: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
2222

23-
continue-on-error: ${{ matrix.php == '8.3' }}
23+
continue-on-error: ${{ matrix.php == '8.4' }}
2424

2525
name: "Test: PHP ${{ matrix.php }}"
2626

2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030

3131
- name: Install PHP
3232
uses: shivammathur/setup-php@v2
@@ -43,15 +43,15 @@ jobs:
4343

4444
strategy:
4545
matrix:
46-
php: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
46+
php: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
4747

48-
continue-on-error: ${{ matrix.php == '8.3' }}
48+
continue-on-error: ${{ matrix.php == '8.4' }}
4949

5050
name: "Unit Test: PHP ${{ matrix.php }}"
5151

5252
steps:
5353
- name: Checkout code
54-
uses: actions/checkout@v3
54+
uses: actions/checkout@v4
5555

5656
- name: Install PHP
5757
uses: shivammathur/setup-php@v2
@@ -61,17 +61,17 @@ jobs:
6161
coverage: xdebug
6262

6363
# Install dependencies and handle caching in one go.
64-
# @link https://github.com/marketplace/actions/install-composer-dependencies
64+
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
6565
- name: Install Composer dependencies - normal
66-
if: ${{ matrix.php != '8.3' }}
67-
uses: "ramsey/composer-install@v2"
66+
if: ${{ matrix.php != '8.4' }}
67+
uses: "ramsey/composer-install@v3"
6868
with:
6969
# Bust the cache at least once a month - output format: YYYY-MM.
7070
custom-cache-suffix: $(date -u "+%Y-%m")
7171

7272
- name: Install Composer dependencies - ignore PHP restrictions
73-
if: ${{ matrix.php == '8.3' }}
74-
uses: "ramsey/composer-install@v2"
73+
if: ${{ matrix.php == '8.4' }}
74+
uses: "ramsey/composer-install@v3"
7575
with:
7676
composer-options: --ignore-platform-req=php+
7777
# Bust the cache at least once a month - output format: YYYY-MM.

0 commit comments

Comments
 (0)