Skip to content

Commit 7c849ae

Browse files
authored
Merge pull request #368 from PHPCSStandards/feature/ghactions-lint-ref-nightly
GH Actions/lint: refer to PHP "next" as nightly
2 parents 86c3041 + e7c3d0b commit 7c849ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525

2626
strategy:
2727
matrix:
28-
php: ['5.4', '7.0', '7.4', '8.0', '8.4', '8.5']
28+
php: ['5.4', '7.0', '7.4', '8.0', '8.4', 'nightly']
2929

3030
name: "Lint: PHP ${{ matrix.php }}"
3131

32-
continue-on-error: ${{ matrix.php == '8.5' }}
32+
continue-on-error: ${{ matrix.php == 'nightly' }}
3333

3434
steps:
3535
- name: Checkout code
@@ -47,7 +47,7 @@ jobs:
4747
uses: "ramsey/composer-install@v3"
4848
with:
4949
# For the PHP "nightly", we need to install with ignore platform reqs as not all dependencies may allow it yet.
50-
composer-options: ${{ matrix.php == '8.5' && '--ignore-platform-req=php+' || '' }}
50+
composer-options: ${{ matrix.php == 'nightly' && '--ignore-platform-req=php+' || '' }}
5151
# Bust the cache at least once a month - output format: YYYY-MM.
5252
custom-cache-suffix: $(date -u "+%Y-%m")
5353

0 commit comments

Comments
 (0)