Skip to content

Commit

Permalink
Add back lint markdown, just commented out
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenad committed Jun 21, 2024
1 parent 30a361c commit 438f254
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ on:
- cron: "0 0 * * 0"

jobs:
# markdownlint:
# name: markdown lint
# runs-on: ubuntu-22.04

# steps:
# - name: Checkout code
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

# - name: Run markdown lint
# run: ./bin/lint_markdown.sh

# stolen from https://raw.githubusercontent.com/exercism/github-actions/main/.github/workflows/shellcheck.yml
shellcheck:
name: Run shellcheck on scripts
Expand Down
7 changes: 7 additions & 0 deletions bin/lint_markdown.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -eo pipefail

npx markdownlint-cli2 \
docs/*.md \
concepts/**/*.md \
exercises/**/*.md

0 comments on commit 438f254

Please sign in to comment.