Minor edits to the workflow - updated some version numbers and added spaces in the workflow file to make it a bit more readable

Denis Žoljom 2022-06-27 10:53:40 +02:00
parent c43451cc62
commit b6eda7096e

@ -17,11 +17,12 @@ concurrency:
jobs:
phpcs:
name: PHPCS
runs-on: ubuntu-20.04
name: PHPCS check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup PHP
uses: "shivammathur/setup-php@v2"
with:
@ -29,11 +30,14 @@ jobs:
ini-values: "memory_limit=1G"
coverage: none
tools: cs2pr
- name: Install Composer dependencies
uses: "ramsey/composer-install@v2"
- name: Run PHPCS checks
continue-on-error: true
run: vendor/bin/phpcs --report-full --report-checkstyle=./phpcs-report.xml
- name: Show PHPCS results in PR
run: cs2pr ./phpcs-report.xml
```