2024 update #56
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: Lint Docs | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
# https://github.com/nosborn/github-action-markdown-cli | |
markdownlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Lint markdown pages | |
uses: nosborn/[email protected] | |
with: | |
files: 'docs/* includes/* README.md' | |
config_file: '.markdownlint.json' | |
# https://github.com/gaurav-nelson/github-action-markdown-link-check | |
markdown-link-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Check markdown pages for broken links | |
uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
with: | |
config-file: '.markdown-link-check.json' | |
folder-path: 'docs, includes' | |
file-path: './README.md' |