test markdownlint-cli2's showFound config, and MD052's shortcut_syntax #93
Workflow file for this run
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
name: "Pull Request Checks" | ||
on: pull_request | ||
jobs: | ||
# Ensure that the changelog file has been updated in this PR | ||
check-changelog-change: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dangoslen/changelog-enforcer@v3 | ||
# Ensure that markdown files are formatted consistently (according to .markdownlint.yml) | ||
lint-markdown-files: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fetch the Wikimate code into the Actions runner | ||
uses: actions/checkout@v3 | ||
- name: Install the markdownlint-problem-matcher action | ||
uses: xt0rted/markdownlint-problem-matcher@v2 | ||
- name: Install markdownlint-cli2 | ||
run: npm install -g markdownlint-cli2 | ||
- name: Configure markdownlint-cli2 | ||
run: echo '{ "showFound": true }' > .markdownlint-cli2.jsonc | ||
- name: Run markdownlint | ||
run: markdownlint-cli2 '**/*.md' |