#19 Move tests to /tests directory, add roots/wordpress dev-dependencies #16
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: Coding Styles | |
on: | |
pull_request: | |
jobs: | |
codingStyle: | |
name: Coding Style | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Configure PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
tools: composer:v2 | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: PHPCsFixer | |
run: composer csFixer | |
#- name: Rector | |
# run: composer rector | |
- name: PHPStan Analyse | |
run: composer phpstan |