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 787df9c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/linting.yaml
@@ -1,7 +1,10 @@
---
name: Linting jobs

on: [push]
# yamllint disable-line rule:truthy
on:
- push
- pull_request

jobs:
validate-composer:
Expand Down Expand Up @@ -42,3 +45,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 787df9c

Please sign in to comment.