Skip to content

Commit

Permalink
Adding php compatibility checking
Browse files Browse the repository at this point in the history
  • Loading branch information
mjrider committed Jan 17, 2020
1 parent 24387c1 commit 72fc572
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/linting.yaml
@@ -1,7 +1,9 @@
---
name: Linting jobs

on: [push]
on:
- push
- pull_request

jobs:
validate-composer:
Expand Down Expand Up @@ -42,3 +44,12 @@ jobs:
- uses: actions/checkout@v1
- name: Check markdown
uses: pipeline-components/remark-lint@master

php-compitibility:
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'"

0 comments on commit 72fc572

Please sign in to comment.