endtoend-test-psl/.github/workflows/coding-standards.yml
2021-05-14 18:03:29 +01:00

30 lines
697 B
YAML

name: "coding standards"
on:
pull_request: ~
push: ~
jobs:
coding-standards:
name: "coding standards"
runs-on: "ubuntu-latest"
steps:
- name: "checkout"
uses: "actions/checkout@v2"
- name: "installing PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.0"
ini-values: memory_limit=-1
tools: composer:v2, cs2pr
extensions: bcmath, mbstring, intl, sodium, json
- name: "installing dependencies"
run: |
make install-root-dependencies
make install-coding-standard-dependencies
- name: "checking coding standards"
run: make coding-standard-check