Skip to content

In page feature

In page feature #811

Workflow file for this run

name: PHP Composer
on:
push:
branches: [main,develop]
pull_request:
branches: [main,develop]
workflow_dispatch: ~
jobs:
lint:
runs-on: ubuntu-20.04
defaults:
run:
working-directory: ./src
steps:
- 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
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Lint source code
run: composer phpcs