2022-03-04 16:03:12 +00:00
|
|
|
name: Continuous Integration
|
2022-01-04 03:24:15 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
2022-03-04 15:58:29 +00:00
|
|
|
branches: [ master ]
|
2022-01-04 03:24:15 +00:00
|
|
|
|
|
|
|
jobs:
|
2022-03-04 16:06:56 +00:00
|
|
|
markdown-lint:
|
2022-01-04 03:24:15 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install packages
|
|
|
|
run: sudo gem install mdl
|
|
|
|
- name: Lint markdown files
|
2022-03-03 16:53:24 +00:00
|
|
|
run: mdl . -r ~MD036,~MD024,~MD004,~MD029
|
2022-03-04 16:52:54 +00:00
|
|
|
- run: pip install -r requirements.txt
|
|
|
|
- run: mkdocs build --strict
|
2022-03-03 16:36:07 +00:00
|
|
|
# Suppress 036 Emphasis used instead of a header
|
|
|
|
# Suppress 024 Multiple headers with the same content
|