Update Readme.md: Overhaul :-) #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: Static analysis | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
phpcs: | |
name: Code style | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
ini-values: memory_limit=-1, date.timezone='UTC' | |
tools: phpcs, phpstan | |
- name: Validate composer.json | |
run: composer validate | |
- name: Install dependencies | |
run: composer update | |
- name: Generate action files | |
run: vendor/bin/codecept build | |
- name: Check production code style | |
run: phpcs src/ |