Use constructor property promotion in ConfigurationBuilder::build #61
Workflow file for this run
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: 'Unit Testing & Code Lint' | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
name: Run tests (${{ matrix.php }}) | |
strategy: | |
matrix: | |
php: [8.1, 8.2] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- name: Install dependencies | |
run: composer install | |
- name: PHPUnit ${{ matrix.php }} tests | |
run: ./vendor/bin/phpunit | |
- name: Run code sniffer | |
run: composer run code-lint |