Merge pull request #59 from blewisCycle/master #14
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Lint Markdown files | |
uses: avto-dev/markdown-lint@v1.5.0 | |
with: | |
args: '.' | |
- name: install markdown-toc | |
run: | | |
npm install -g markdown-toc | |
- name: verify TOC is up-to-date | |
run: | | |
markdown-toc --bullets="-" -i README.md | |
git diff --exit-code |