diff --git a/.github/workflows/quicksyntaxcheck.yml b/.github/workflows/quicksyntaxcheck.yml new file mode 100644 index 0000000..b8923c1 --- /dev/null +++ b/.github/workflows/quicksyntaxcheck.yml @@ -0,0 +1,16 @@ +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 PhabExt/PhabricatorCustomRobotsTxtController.php