From bd1fab136aaf7d3be33c8671aa467ea8274f85aa Mon Sep 17 00:00:00 2001 From: MatMasIt <34745996+MatMasIt@users.noreply.github.com> Date: Mon, 16 Aug 2021 23:56:22 +0200 Subject: [PATCH] Update syntax.yml --- .gitthub/workflows/syntax.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.gitthub/workflows/syntax.yml b/.gitthub/workflows/syntax.yml index 83b4268..3abbc65 100644 --- a/.gitthub/workflows/syntax.yml +++ b/.gitthub/workflows/syntax.yml @@ -1,12 +1,8 @@ -name: Check PHP Syntax -on: - push: - paths: - - './src' +name: PHP Linting +on: pull_request jobs: - build_latex: + phplint: + runs-on: ubuntu-latest steps: - - name: PHP Syntax Checker (Lint) - uses: StephaneBour/actions-php-lint@7.3 - with: - dir: './src' + - uses: actions/checkout@v1 + - uses: michaelw90/PHP-Lint@master