2020-10-01 02:35:21 +02:00
|
|
|
name: "coding standards"
|
|
|
|
|
2021-05-14 15:15:55 +02:00
|
|
|
on:
|
2021-03-24 09:23:04 +01:00
|
|
|
pull_request: ~
|
|
|
|
push: ~
|
2020-10-01 02:35:21 +02:00
|
|
|
|
|
|
|
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:
|
2021-05-14 15:15:55 +02:00
|
|
|
php-version: "8.0"
|
2020-10-01 02:35:21 +02:00
|
|
|
ini-values: memory_limit=-1
|
2020-10-01 03:18:53 +02:00
|
|
|
tools: composer:v2, cs2pr
|
2020-10-01 02:35:21 +02:00
|
|
|
extensions: bcmath, mbstring, intl, sodium, json
|
|
|
|
|
|
|
|
- name: "installing dependencies"
|
2021-03-27 21:32:45 +01:00
|
|
|
run: |
|
|
|
|
make install-root-dependencies
|
|
|
|
make install-coding-standard-dependencies
|
2020-10-01 02:35:21 +02:00
|
|
|
|
2021-03-27 21:32:45 +01:00
|
|
|
- name: "checking coding standards"
|
|
|
|
run: make coding-standard-check
|