Skip to content

Commit 296d770

Browse files
authored
Add PHP nightly build to test matrix
1 parent 155dced commit 296d770

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,18 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
php-version:
24-
- "8.1"
25-
- "8.2"
26-
- "8.3"
24+
- '8.1'
25+
- '8.2'
26+
- '8.3'
2727
dependency-version: [prefer-lowest, prefer-stable]
2828
experimental: [false]
29+
include:
30+
- php-version: '8.4'
31+
dependency-version: prefer-lowest
32+
experimental: true
33+
- php-version: '8.4'
34+
dependency-version: prefer-stable
35+
experimental: true
2936

3037
steps:
3138
- uses: actions/checkout@v3
@@ -48,8 +55,8 @@ jobs:
4855
uses: actions/cache@v3
4956
with:
5057
path: ${{ steps.composer-cache.outputs.dir }}
51-
key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
52-
restore-keys: ${{ runner.os }}-php-${{ matrix.php-version }}-
58+
key: ${{ runner.os }}-php-${{ matrix.php-version }}-composer-${{ matrix.prefer }}-${{ hashFiles('**/composer.json') }}
59+
restore-keys: ${{ runner.os }}-php-${{ matrix.php-version }}-composer-${{ matrix.prefer }}
5360

5461
- name: Install dependencies (PHP 8)
5562
if: steps.composer-cache.outputs.cache-hit != 'true' && matrix.php-version >= 8

0 commit comments

Comments
 (0)