mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
22 lines
484 B
YAML
22 lines
484 B
YAML
name: Code Quality
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
codeQuality:
|
|
runs-on: ubuntu-latest
|
|
name: PHP
|
|
steps:
|
|
- name: Checkout changes
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install PHP and PHP Code Sniffer
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '7.3'
|
|
tools: phpcs
|
|
- name: Run code quality checks
|
|
run: ./.github/workflows/utilities/phpcs-pr ${{ github.base_ref }}
|