sandbox/.github/workflows/quicksyntaxcheck.yml
Yongmin Hong 04798b45fd
style: npm run p:w .
Summary:
Which is essentially `npx prettier --write .`

Also fix `jshint` (possible) FP, wrong chars.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm run p:w .` and verify no changes made.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D217
2024-06-09 22:11:33 +09:00

16 lines
318 B
YAML

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 {{ $github.workspace }}/PhabExt/PhabricatorCustomRobotsTxtController.php