Skip to content

Commit

Permalink
Add PHP nightly build to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioheleno authored Apr 9, 2024
1 parent 155dced commit 296d770
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,18 @@ jobs:
fail-fast: false
matrix:
php-version:
- "8.1"
- "8.2"
- "8.3"
- '8.1'
- '8.2'
- '8.3'
dependency-version: [prefer-lowest, prefer-stable]
experimental: [false]
include:
- php-version: '8.4'
dependency-version: prefer-lowest
experimental: true
- php-version: '8.4'
dependency-version: prefer-stable
experimental: true

steps:
- uses: actions/checkout@v3
Expand All @@ -48,8 +55,8 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-php-${{ matrix.php-version }}-
key: ${{ runner.os }}-php-${{ matrix.php-version }}-composer-${{ matrix.prefer }}-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-php-${{ matrix.php-version }}-composer-${{ matrix.prefer }}

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

0 comments on commit 296d770

Please sign in to comment.