sandbox/.github/workflows/quicksyntaxcheck.yml

18 lines
351 B
YAML
Raw Normal View History

---
name: 'PHP Syntax Check'
on:
push:
paths:
- '**.php'
pull_request:
workflow_dispatch:
jobs:
phpsyntax:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: PHP Basic Syntax Check
run: php -l ${{ github.workspace }}/PhabExt/PhabricatorCustomRobotsTxtController.php