Add CI task to lint markdown files

This commit is contained in:
Dominik Nakamura 2022-02-19 16:08:18 +09:00
parent 2027394d33
commit be48d0bfe9
No known key found for this signature in database
GPG Key ID: E4C6A749B2491910

24
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Code Quality Linting
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
markdown:
name: Lint Markdown
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[skip ci]') != true
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Generate docs
run: cd docs && ./build_docs.sh
- name: Run markdownlint-cli
uses: nosborn/github-action-markdown-cli@v3.0.1
with:
files: .