Add some diagnostics

This commit is contained in:
TheWitness authored and GitHub committed 2022-04-15 11:25:47 -04:00
1 parent b988c13fab
commit d7e33fa8a6
1 file changed
+5
+5
View File
@@ -58,6 +58,11 @@ jobs:
- name: Check PHP version
run: php -v
- name: Check Contents of Aptitude Repo for PHP components
env:
version: ${{ matrix.php }}
run: apt search | grep php
- name: Check PHP syntax
run: if find ${{ github.workspace }} -name '*.php' -exec php -l {} 2>&1 \; | grep -iv 'no syntax errors detected'; then exit 1; fi