sandbox/.github/workflows/quicksyntaxcheck.yml
Yongmin Hong 50a7eeb582
CI(GitHub Actions): fix php -l script
Summary:
Was not calling from the repo rootdir. Fix it.

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

Test Plan: `arc land`. Wait for GitHub Actions to run.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D149
2024-05-26 15:03:11 +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