mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-09 05:26:50 +09:00
Add some diagnostics
This commit is contained in:
1 parent
b988c13fab
commit
d7e33fa8a6
1 file changed
+5
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user