2024-04-20 11:04:53 +02:00
|
|
|
name: "PHP Syntax Check"
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- '**.php'
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- '**.php'
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
phpsyntax:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-05-02 12:46:24 +02:00
|
|
|
- name: "PHP Basic Syntax Check [robots.txt]"
|
2024-04-20 11:04:53 +02:00
|
|
|
run: php -l PhabExt/PhabricatorCustomRobotsTxtController.php
|
2024-05-02 12:46:24 +02:00
|
|
|
- name: "PHP Basic Syntax Check [time.php]"
|
|
|
|
run: php -l time.php
|