A2CP-422 added wpcli method to expose is_active #1
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 Syntax Linter | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
name: Run syntax linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checking out the project..." | |
uses: actions/checkout@v2 | |
- name: "PHP Syntax Checker 5.6" | |
uses: StephaneBour/[email protected] | |
with: | |
dir: './' | |
- name: "PHP Syntax Checker 7.0" | |
uses: StephaneBour/[email protected] | |
with: | |
dir: './' | |
- name: "PHP Syntax Checker 7.1" | |
uses: StephaneBour/[email protected] | |
with: | |
dir: './' | |
- name: "PHP Syntax Checker 7.2" | |
uses: StephaneBour/[email protected] | |
with: | |
dir: './' | |
- name: "PHP Syntax Checker 7.3" | |
uses: StephaneBour/[email protected] | |
with: | |
dir: './' | |
- name: "PHP Syntax Checker 7.4" | |
uses: StephaneBour/[email protected] | |
with: | |
dir: './' | |
- name: "PHP Syntax Checker 8.0" | |
uses: StephaneBour/[email protected] | |
with: | |
dir: './' | |
- name: "PHP Syntax Checker 8.1" | |
uses: StephaneBour/[email protected] | |
with: | |
dir: './' | |
- name: "PHP Syntax Checker 8.2" | |
run: | | |
docker pull overtrue/phplint:8.2 | |
docker run --rm -t -v "${PWD}":/workdir overtrue/phplint:8.2 ./ |