Workflow update #1
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: Formats | |
on: | |
push: | |
paths: | |
- '**.php' | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php | |
with: | |
php-version: '8.3' | |
- name: Install Composer dependencies | |
run: composer update --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist | |
- name: Coding Style Checks | |
run: composer test:lint | |
- name: Type Checks | |
run: composer test:types | |
- name: Type Coverage Checks | |
run: composer test:type-coverage |