Skip to content

Commit

Permalink
Merge pull request #100 from Dealerdirect/feature/tweak-github-action…
Browse files Browse the repository at this point in the history
…s-script

GH Actions: minor tweaks:
  • Loading branch information
mjrider committed Jan 19, 2020
2 parents 8bcaa7c + 3651c28 commit f9e6dc5
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/linting.yaml
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Lint php
- name: Lint json
uses: "docker://pipelinecomponents/jsonlint:latest"
with:
args: "find . -not -path './.git/*' -name '*.json' -type f -exec jsonlint --quiet {} ;"
Expand All @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Check php composer for security issues
- name: Check php for code style and php cross-version compatibility issues
uses: pipeline-components/php-codesniffer@master

lint-remark:
Expand All @@ -45,12 +45,3 @@ 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 f9e6dc5

Please sign in to comment.