From 60903dbc2e7ad9c4d9b3fa9bb79c53133e20b0be Mon Sep 17 00:00:00 2001 From: wrongecho <32306651+wrongecho@users.noreply.github.com> Date: Mon, 31 Jan 2022 11:07:22 +0000 Subject: [PATCH 1/2] Add PHP Lint workflow --- .github/.github/workflows/php-lint.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/.github/workflows/php-lint.yml diff --git a/.github/.github/workflows/php-lint.yml b/.github/.github/workflows/php-lint.yml new file mode 100644 index 00000000..197e770e --- /dev/null +++ b/.github/.github/workflows/php-lint.yml @@ -0,0 +1,15 @@ + +name: PHPLint + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Check PHP syntax errors + uses: overtrue/phplint@4.1.0 From 1daccbf168ca31f6f4d3f5687c19da9fa91b0d30 Mon Sep 17 00:00:00 2001 From: wrongecho <32306651+wrongecho@users.noreply.github.com> Date: Mon, 31 Jan 2022 11:11:46 +0000 Subject: [PATCH 2/2] Move to correct dir --- .github/{.github => }/workflows/php-lint.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{.github => }/workflows/php-lint.yml (100%) diff --git a/.github/.github/workflows/php-lint.yml b/.github/workflows/php-lint.yml similarity index 100% rename from .github/.github/workflows/php-lint.yml rename to .github/workflows/php-lint.yml