Update for outdated libraries when using sass #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP Code Linting | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
lint-php: | |
name: Parallel lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the git repository | |
uses: actions/checkout@v2 | |
- name: PHP setup | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
- name: Install composer packages | |
run: composer install --no-progress | |
- name: Check for PHP errors | |
run: composer lint:php | |
phpcs_check: | |
name: PHPCS check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the git repository | |
uses: actions/checkout@v2 | |
- name: PHP setup | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
- name: Install composer packages | |
run: composer install --no-progress | |
- name: Check coding standards using PHPCS | |
run: composer lint:wpcs |