Skip to content

feat(ci): bump workflow versions and minor changes #476

feat(ci): bump workflow versions and minor changes

feat(ci): bump workflow versions and minor changes #476

name: "CS"
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
coding-standards:
name: "Coding Standards"
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Set up PHP"
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
coverage: none
tools: cs2pr
- name: "Install Composer dependencies"
uses: ramsey/composer-install@v3
with:
dependency-versions: highest
# https://github.com/doctrine/.github/issues/3
- name: "Run PHP_CodeSniffer"
run: vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr