Add history method for task #243
Workflow file for this run
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: "Code Quality Check" | |
on: | |
pull_request: | |
paths: | |
- "**.php" | |
- "phpcs.xml" | |
- ".github/workflows/code_quality.yml" | |
jobs: | |
phpcs: | |
name: "PHP CodeSniffer" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the workspace | |
uses: actions/checkout@v2 | |
- name: Run PHPCS | |
uses: chekalsky/phpcs-action@v1 | |
phpmd: | |
name: "PHP MessDetector" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the workspace | |
uses: actions/checkout@v2 | |
- name: Run PHPMD | |
uses: GeneaLabs/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
level: 'warning' | |
reporter: github-pr-check | |
standard: './phpmd.xml' | |
target_directory: 'src' | |
phpstan: | |
name: PHPStan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the workspace | |
uses: actions/checkout@v2 | |
- name: Run PHPStan | |
uses: docker://oskarstark/phpstan-ga:1.8.0 | |
with: | |
args: analyse src -c phpstan.neon --memory-limit=1G --no-progress |