Merge branch 'main' into dependabot/composer/phpunit/phpunit-9.6.19 #197
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: GitHub Actions | |
on: [ push ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
php-versions: [ 7.4 ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
- name: Setup Composer caching | |
uses: ramsey/composer-install@v2 | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Install dependencies | |
run: composer install | |
- name: Run code sniffer | |
run: composer cs | |
- name: Run phpunit tests | |
run: composer unit |