Skip to content

Commit

Permalink
Update test-linter.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdkleijn authored Jan 29, 2024
1 parent f00a9d2 commit 149197a
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions .github/workflows/test-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,21 @@ jobs:
ignore: livestats.blade.php,config.blade.php
exclude: Squiz.Functions.MultiLineFunctionDeclaration

# phpstan:
# name: PHPStan
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
#
# - uses: php-actions/phpstan@v3
# with:
# path: ./
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: src

- name: Checkout Heimdall repo for dependencies
uses: actions/checkout@v4
with:
repository: linuxserver/Heimdall
path: heimdall

- uses: php-actions/phpstan@v3
with:
path: src/

0 comments on commit 149197a

Please sign in to comment.