chore: add 8.5 support #36
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
| name: Unit Tests (Windows) | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| jobs: | |
| run: | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - php-versions: '8.1' | |
| composer-options: '' | |
| - php-versions: '8.2' | |
| composer-options: '' | |
| - php-versions: '8.3' | |
| composer-options: '' | |
| - php-versions: '8.4' | |
| composer-options: '' | |
| - php-versions: '8.5' | |
| composer-options: '' | |
| name: PHP ${{ matrix.php-versions }} ${{ matrix.composer-options }} | |
| env: | |
| AWS_ACCESS_KEY_ID: foo | |
| AWS_SECRET_ACCESS_KEY: bar | |
| AWS_CSM_ENABLED: false | |
| AWS_SUPPRESS_PHP_DEPRECATION_WARNING: true | |
| steps: | |
| - name: Setup PHP with JIT | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| coverage: none | |
| php-version: ${{ matrix.php-versions }} | |
| ini-values: memory_limit=4G, phar.readonly=false, opcache.enable=1, opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=128M | |
| extensions: sockets | |
| - name: Checkout codebase | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Validate composer.json and composer.lock | |
| run: composer validate | |
| - name: Install dependencies | |
| run: composer update ${{ matrix.composer-options }} --no-interaction --prefer-source | |
| - name: Run test suite | |
| run: make test | |
| - name: Static analysis | |
| run: | | |
| composer require --dev nette/neon "^3.4.4" phpstan/phpstan "2.1.1" --ignore-platform-req=php --update-with-all-dependencies | |
| vendor\bin\phpstan analyse src |