switch back from object to array for private_net, add composer.lock, … #341
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
php-versions: [ '8.0', '8.1', '8.2', '8.3' ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
- name: Install depdendencies | |
run: | | |
composer install | |
- name: Run phpunit | |
run: php vendor/bin/phpunit | |
- name: Run phpstan | |
run: php vendor/bin/phpstan analyse src --level 1 |