Last active
May 15, 2024 23:30
Revisions
-
xxdannilinxx revised this gist
May 15, 2024 . 1 changed file with 0 additions and 12 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -16,18 +16,6 @@ jobs: - name: Copying test repository uses: actions/checkout@v3 - name: Run php lint uses: StephaneBour/actions-php-lint@8.0 -
xxdannilinxx created this gist
May 15, 2024 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,41 @@ 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: Validate composer.json and composer.lock run: composer validate --strict - name: Cache Composer packages id: composer-cache uses: actions/cache@v3 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- - 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: "./"