sandbox/.github/workflows/quicksyntaxcheck.yml
Yongmin Hong 959705258e
npm(eslint-config): correct wrong peerDependency
Summary:
eslint-config-prettier should have been peerDependency not devDependency.
Correct them by moving it.

(Also do some yml cleanups.)

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

Test Plan: `npm ci`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D342
2024-06-17 12:53:55 +09:00

17 lines
351 B
YAML

---
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