Skip to content

Backport fb88e6fab to 1.0 #138

Backport fb88e6fab to 1.0

Backport fb88e6fab to 1.0 #138

name: Code Quality
on:
push:
branches:
- 1.0
- 1.1
- develop
jobs:
codeQuality:
runs-on: ubuntu-latest
name: PHP
steps:
- name: Cancel previous incomplete runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout changes
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.2
extensions: curl, fileinfo, gd, mbstring, openssl, pdo, pdo_sqlite, sqlite3, xml, zip
tools: phpcs
- name: Run code quality checks
run: ./.github/workflows/utilities/phpcs-push ${{ github.sha }}