From 76b09222bfa4ec549f97d53f946c16432aa171bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robbert=20M=C3=BCller?= Date: Fri, 17 Jan 2020 21:03:55 +0100 Subject: [PATCH] Adding php compatibility checking --- .github/workflows/linting.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index e69242a6..69cb611e 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -1,7 +1,9 @@ --- name: Linting jobs -on: [push] +on: + - push + - pull_request jobs: validate-composer: @@ -42,3 +44,12 @@ jobs: - uses: actions/checkout@v1 - name: Check markdown uses: pipeline-components/remark-lint@master + + lint-remark: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v1 + - name: Check php compatibility + uses: pipeline-components/php-codesniffer@master + with: + options: "-s -p --colors --extensions=php --standard=PHPCompatibility --runtime-set testVersion '5.3-7.4'"