Tests/PHPCSVersions: add PHPCS 3.7.2 to the mix #408
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Linting jobs | |
on: | |
- push | |
- pull_request | |
- workflow_dispatch | |
# Cancels all previous workflow runs for the same branch that have not yet completed. | |
concurrency: | |
# The concurrency group contains the workflow name and the branch name. | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
validate-composer: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate composer.json and composer.lock | |
uses: "docker://composer" | |
with: | |
args: "composer validate --no-check-lock" | |
lint-json: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lint json | |
uses: "docker://pipelinecomponents/jsonlint:latest" | |
with: | |
args: "find . -not -path './.git/*' -name '*.json' -type f -exec jsonlint --quiet {} ;" | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check yaml for issues | |
uses: pipeline-components/yamllint@master | |
php-codesniffer: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check php for code style and php cross-version compatibility issues | |
uses: pipeline-components/php-codesniffer@master | |
lint-remark: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check markdown | |
uses: pipeline-components/remark-lint@master |