Skip to content

Commit

Permalink
Use markdownlint in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Bromeon committed Oct 11, 2023
1 parent ec54751 commit c6a51de
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,25 @@ jobs:
uses: actions/deploy-pages@v2


markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: "Install markdownlint-cli2"
run: npm install -g markdownlint-cli2

- name: "Run lint"
run: ./lint.sh

# Disabled because behavior differs slightly from markdownlint (cli)
# - name: "Run lint"
# uses: docker://avtodev/markdown-lint:v1 # fastest way; alternative: avto-dev/markdown-lint@v1
# with:
# args: ReadMe.md "src/**/*.md"
# config: .github/other/.markdownlint.jsonc


license-guard:
runs-on: ubuntu-20.04
steps:
Expand Down

0 comments on commit c6a51de

Please sign in to comment.