mirror of
https://github.com/danog/endtoend-test-psl.git
synced 2024-12-02 17:56:09 +01:00
26 lines
650 B
YAML
26 lines
650 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: "7.4"
|
||
|
ini-values: memory_limit=-1
|
||
|
tools: composer:v2
|
||
|
extensions: bcmath, mbstring, intl, sodium, json
|
||
|
|
||
|
- name: "installing dependencies"
|
||
|
run: "composer update --no-interaction --no-progress"
|
||
|
|
||
|
- name: "checking coding standards ( codesniffer )"
|
||
|
run: "composer cs:check"
|