Skip to content

Commit

Permalink
Improved linting in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
HorstOeko committed Oct 25, 2024
1 parent aa2f360 commit 093c543
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ jobs:
for afile in $(find . -type f -name '*.php' -path './src*/*' -print); do
php -l $afile
done
for afile in $(find . -type f -name '*.php' -path './tests*/*' -print); do
php -l $afile
done
- name: Run PHPLOC
continue-on-error: true
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/build.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ jobs:
mkdir build/dist
mkdir build/phpdoc
- name: Run Lint
run: |
for afile in $(find . -type f -name '*.php' -path './src*/*' -print); do
php -l $afile
done
for afile in $(find . -type f -name '*.php' -path './tests*/*' -print); do
php -l $afile
done
- name: Run PHPLOC
continue-on-error: true
run: |
Expand Down

0 comments on commit 093c543

Please sign in to comment.