Improves version detection for Azure Linux, macOS and Windows #4681
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: PHPCS check | |
permissions: | |
actions: read | |
checks: read | |
contents: read | |
deployments: none | |
issues: read | |
packages: none | |
pull-requests: read | |
repository-projects: none | |
security-events: none | |
statuses: none | |
on: | |
pull_request: | |
push: | |
branches: [ master ] | |
jobs: | |
phpcs: | |
name: PHPCS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: composer install --dev --prefer-dist --no-progress --no-suggest --ignore-platform-reqs | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.2' | |
tools: cs2pr | |
- name: Run phpcs | |
run: ./vendor/bin/phpcs -q --report=checkstyle | cs2pr |