Skip to content

Commit

Permalink
fix: change markdown check local to remotely call check
Browse files Browse the repository at this point in the history
  • Loading branch information
bkioshn committed Dec 7, 2023
1 parent c5f9683 commit b625a7b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .vscode/tasks.recommended.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
{
"label": "CI - Recursive Markdown Lint - Check",
"type": "shell",
"command": "earthly -P +markdown-check",
"command": "earthly -P +check-markdown",
"problemMatcher": {
"owner": "markdown-check",
"owner": "check-markdown",
"pattern": {
"regexp": "(\\S+):(\\d+):(\\d+)\\s(.+)",
"file": 1,
Expand Down
12 changes: 5 additions & 7 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@ FROM debian:stable-slim

# cspell: words livedocs sitedocs

markdown-check:
# Check Markdown in this repo.
LOCALLY

DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.0.9+MDLINT_LOCALLY --src=$(echo ${PWD})
# check-markdown markdown check using catalyst-ci.
check-markdown:
DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.0.10+CHECK

# markdown-check-fix markdown check and fix using catalyst-ci.
markdown-check-fix:
# Check Markdown in this repo.
LOCALLY

DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.0.9+MDLINT_LOCALLY --src=$(echo ${PWD}) --fix=--fix
DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.0.10+MDLINT_LOCALLY --src=$(echo ${PWD}) --fix=--fix

spell-check:
# Check spelling in this repo.
Expand Down

0 comments on commit b625a7b

Please sign in to comment.