actions: php quick syntax check
cf. https://we.phorge.it/book/phorge/article/configuring_preamble/ Bug: N/A Signed-off-by: Yongmin Hong <revi@omglol.email>
This commit is contained in:
parent
683a11ca27
commit
383155f51d
1 changed files with 16 additions and 0 deletions
16
.github/workflows/quicksyntaxcheck.yml
vendored
Normal file
16
.github/workflows/quicksyntaxcheck.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
name: "PHP Syntax Check"
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- '**.php'
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- '**.php'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
phpsyntax:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: PHP Basic Syntax Check
|
||||||
|
run: php -l PhabExt/PhabricatorCustomRobotsTxtController.php
|
Loading…
Reference in a new issue