Merge pull request #133 from PowerKiKi/typed-field-mapper #1729
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: CS | |
on: [ push, pull_request ] | |
jobs: | |
coding-standards: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP, with composer and extensions | |
uses: shivammathur/[email protected] | |
with: | |
php-version: 8.2 | |
coverage: pcov | |
tools: cs2pr | |
- name: Cache composer dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/composer | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: ${{ runner.os }}-composer- | |
- name: Install dependencies | |
run: composer install --no-interaction | |
- name: Code style with phpcs | |
run: make cs |