This repository has been archived by the owner on Jul 22, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
238 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
on: | ||
push: | ||
paths: | ||
- 'docs/**' | ||
|
||
pull_request: | ||
paths: | ||
- 'docs/**' | ||
|
||
name: Documentation | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v2 | ||
|
||
- name: "Set up Python 3.7" | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.7' # Semantic version range syntax or exact version of a Python version | ||
|
||
- name: "Display Python version" | ||
run: python -c "import sys; print(sys.version)" | ||
|
||
- name: "Install Sphinx dependencies" | ||
run: sudo apt-get install python-dev build-essential | ||
|
||
- name: "Install custom requirements via pip" | ||
run: pip install -r docs/requirements.txt | ||
|
||
- name: "Build documentation" | ||
run: make docs | ||
|
||
doctor-rst: | ||
name: DOCtor-RST | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@master | ||
|
||
- name: "Run DOCtor-RST" | ||
uses: docker://oskarstark/doctor-rst | ||
with: | ||
args: --short | ||
env: | ||
DOCS_DIR: 'docs/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
on: [push, pull_request] | ||
|
||
name: Lint | ||
|
||
jobs: | ||
php-cs-fixer: | ||
name: PHP-CS-Fixer | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v2 | ||
|
||
- name: "Run PHP-CS-Fixer" | ||
uses: docker://oskarstark/php-cs-fixer-ga:2.16.1 | ||
with: | ||
args: --ansi --verbose --diff --dry-run | ||
|
||
composer-normalize: | ||
name: composer-normalize | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v2 | ||
|
||
- name: "Run composer-normalize" | ||
uses: docker://localheinz/composer-normalize-action:0.5.2 | ||
with: | ||
args: --dry-run | ||
|
||
yaml-files: | ||
name: YAML files | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v2 | ||
|
||
- name: "Install Ruby 2.6" | ||
uses: actions/setup-ruby@v1 | ||
with: | ||
ruby-version: '2.6' | ||
- run: gem install yaml-lint | ||
- name: "Linting..." | ||
run: make lint-yaml | ||
|
||
xml-files: | ||
name: XML files | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v2 | ||
|
||
- run: sudo apt-get install libxml2-utils | ||
|
||
- name: "Linting..." | ||
run: make lint-xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# https://github.com/actions/stale | ||
|
||
name: "Stale" | ||
|
||
on: | ||
schedule: | ||
- cron: "0 9-18 * * *" | ||
|
||
jobs: | ||
stale: | ||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- name: "Close stale issues and pull requests" | ||
uses: "actions/stale@v1.1.0" | ||
with: | ||
days-before-close: 7 | ||
days-before-stale: 180 | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
exempt-issue-label: "keep" | ||
stale-issue-label: "stale" | ||
stale-issue-message: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
stale-pr-label: "stale" | ||
stale-pr-message: > | ||
This PR has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
rules: | ||
blank_line_after_directive: ~ | ||
short_array_syntax: ~ | ||
typo: ~ | ||
replacement: ~ | ||
composer_dev_option_at_the_end: ~ | ||
yarn_dev_option_at_the_end: ~ | ||
versionadded_directive_should_have_version: ~ | ||
no_composer_req: ~ | ||
no_php_open_tag_in_code_block_php_directive: ~ | ||
blank_line_after_filepath_in_code_block: ~ | ||
no_php_prefix_before_bin_console: ~ | ||
use_deprecated_directive_instead_of_versionadded: ~ | ||
no_space_before_self_xml_closing_tag: ~ | ||
no_explicit_use_of_code_block_php: ~ | ||
ensure_order_of_code_blocks_in_configuration_block: ~ | ||
american_english: ~ | ||
valid_use_statements: ~ | ||
extend_abstract_admin: ~ | ||
final_admin_class: ~ | ||
final_admin_extension_classes: ~ | ||
no_admin_yaml: ~ | ||
no_bash_prompt: ~ | ||
no_composer_phar: ~ | ||
no_inheritdoc: ~ | ||
|
||
# can be enabled when no Symfony 3.4 support anymore | ||
#yaml_instead_of_yml_suffix: ~ | ||
#no_app_bundle: ~ | ||
#no_config_yaml: ~ | ||
#kernel_instead_of_app_kernel: ~ | ||
#no_app_console: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.