2021-03-15 02:51:13 +01:00
|
|
|
name: "documentation check"
|
2021-03-07 19:43:07 +01:00
|
|
|
|
2021-05-14 15:15:55 +02:00
|
|
|
on:
|
2021-03-24 09:23:04 +01:00
|
|
|
pull_request: ~
|
|
|
|
push: ~
|
2021-03-07 19:43:07 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
doc-check:
|
2021-03-15 02:51:13 +01:00
|
|
|
name: "documentation check"
|
2021-03-07 19:43:07 +01:00
|
|
|
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"
|
2021-03-07 19:43:07 +01:00
|
|
|
ini-values: memory_limit=-1
|
|
|
|
tools: composer:v2, cs2pr
|
|
|
|
extensions: bcmath, mbstring, intl, sodium, json
|
|
|
|
|
2021-03-15 02:51:13 +01:00
|
|
|
- name: "checking if documentation is up-to-date."
|
|
|
|
run: "php docs/documenter.php check"
|