Skip to content

Merge pull request #56 from OS2Forms/release/1.14.0 #42

Merge pull request #56 from OS2Forms/release/1.14.0

Merge pull request #56 from OS2Forms/release/1.14.0 #42

Workflow file for this run

name: Check Code standards
on: [push]
jobs:
coding-standards:
name: PHP - Check Coding Standards
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# https://github.com/shivammathur/setup-php#cache-composer-dependencies
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install dependencies
run: composer install --no-interaction
- name: Check coding standards
run: composer run coding-standards-check --no-interaction