@@ -0,0 +1,14 @@
|
||||
name: Lint PHP
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
php-lint:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Vérifier la syntaxe PHP
|
||||
run: |
|
||||
find . -name "*.php" -print0 | xargs -0 -n1 php -l
|
||||
Reference in New Issue
Block a user