Skip to content

Commit

Permalink
feat(Composer): check ci
Browse files Browse the repository at this point in the history
  • Loading branch information
izovita committed Jun 5, 2024
1 parent cd95c74 commit 277a327
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:
composer:
- ''
- '--prefer-lowest'
monolog: ['default']
include:
- php: '8.1'
composer: ''
monolog: '3.0'
- php: '8.2'
composer: ''
monolog: '3.0'

name: PHP ${{ matrix.php }} ${{ matrix.composer }}
steps:
Expand Down Expand Up @@ -49,4 +57,8 @@ jobs:
restore-keys: ${{ runner.os }}-${{ matrix.php }}-${{ matrix.composer }}-composer

- name: Install dependencies
run: composer update ${{ matrix.composer }}
run: |
if [ "${{ matrix.monolog }}" != "default" ]; then
composer require monolog/monolog:${{ matrix.monolog }}
fi
composer update ${{ matrix.composer }}

0 comments on commit 277a327

Please sign in to comment.