Skip to content

Поднял уровень phpstan #64

Поднял уровень phpstan

Поднял уровень phpstan #64

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-20.04
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2', '8.3', '8.4']
steps:
- uses: actions/checkout@v4
- name: Setup GOST engine
run: |
sudo apt install libengine-gost-openssl1.1
sudo cp tests/openssl.cnf /usr/lib/ssl/openssl.cnf
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Validate composer.json
run: composer validate --strict
- name: Install dependencies
run: composer update --prefer-dist --no-progress
- name: Run test suite
run: composer test
- name: Run static analysis
run: composer analyse