Last active
May 15, 2024 23:30
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 Linting | |
on: | |
pull_request: | |
branches: ["master"] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: PHP Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Copying test repository | |
uses: actions/checkout@v3 | |
- name: Run php lint | |
uses: StephaneBour/actions-php-lint@8.0 | |
- name: Run php check code with reviewdog | |
uses: GeneaLabs/action-reviewdog-phpstan@1.1.2 | |
with: | |
level: "error" | |
fail_on_error: "true" | |
phpstan_level: 4 | |
reporter: "github-pr-review" | |
target_directory: "./" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment