From 2eadcebc540af1a1d85154ec2f88d574171568e8 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Fri, 22 Jan 2021 19:06:36 +0100 Subject: [PATCH] Add lint workflow using markdownlint-cli --- .github/workflows/lint.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..0a29fb3 --- /dev/null +++ b/.github/workflows/lint.yml @@ -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'