Skip to content

Fix config

Fix config #19

Workflow file for this run

name: Api Response Style Checks
on: [push, pull_request]
jobs:
style:
runs-on: ubuntu-latest
name: Api Response Style Checks
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- name: Cache Dependencies
id: composer-cache-style
uses: actions/cache@v2
with:
path: vendor
key: ubuntu-composer-cache-style-${{ hashFiles('**/composer.lock') }}
restore-keys: ubuntu-php-style
- name: Install Dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
- name: Check Coding Style
run: vendor/bin/phpcs src/