Add lint workflow using markdownlint-cli

This commit is contained in:
Niels van Velzen 2021-01-22 19:06:36 +01:00 committed by GitHub
parent 682724c9ea
commit 2eadcebc54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,20 @@
name: Lint
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Problem Matcher
uses: xt0rted/markdownlint-problem-matcher@v1
- name: Run Markdownlint
run: npx --package markdownlint-cli markdownlint '**/*.md'