Bump dependencies #113
Workflow file for this run
This file contains hidden or 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
| # Run Test Suite | |
| name: Tests | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| name: test | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| operating-system: [ubuntu-latest, windows-latest, macOS-latest] | |
| php-version: ['8.4'] | |
| runs-on: ${{ matrix.operating-system }} | |
| steps: | |
| - name: Fix autocrlf on Windows | |
| if: matrix.operating-system == 'windows-latest' | |
| run: git config --global core.autocrlf false | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup PHP, with composer and extensions | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| extensions: mbstring, dom, json, libxml, xml, xmlwriter | |
| coverage: none | |
| - name: Install composer dependencies | |
| uses: ramsey/composer-install@v3 | |
| with: | |
| composer-options: "--prefer-dist --optimize-autoloader" | |
| - name: Check code style | |
| run: composer cs | |
| - name: Test with phpunit | |
| run: composer test |