Skip to content

Introduce modularized feature #22

Introduce modularized feature

Introduce modularized feature #22

Workflow file for this run

name: Lint and CS
on:
workflow_dispatch:
pull_request:
push:
branches: [ master ]
jobs:
lint:
name: ✔️ CS check al files
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '--skip ci') && !github.event.pull_request.draft"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Validate php files
run: find ./src/ ./tests/ -type f -name '*.php' -print0 | xargs -0 -L 1 -P 4 -- php -l
- uses: ramsey/composer-install@v2
- name: Coding standard
run: composer run cs