remove unsuded deps #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Tests | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [ '8.3', '8.4' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- name: Cache Composer dependencies | |
uses: actions/cache@v4 | |
with: | |
path: /tmp/composer-cache | |
key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} | |
- name: Update composer | |
run: composer self-update | |
- name: Install dependencies with composer | |
run: composer install --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi | |
- name: test | |
run: composer app:test |