Skip to content

Commit

Permalink
fix: modify the spellcheck from local to call spellcheck in `catalyst…
Browse files Browse the repository at this point in the history
…-ci` (#28)

* feat: remote check-spelling

* chore: remove local spellcheck workflow and earthfile
  • Loading branch information
apskhem committed Dec 7, 2023
1 parent e811cd5 commit 920f241
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 20 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/spell-check.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .vscode/tasks.recommended.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
{
"label": "CI - Recursive Spell Check",
"type": "shell",
"command": "earthly -P +spell-check",
"command": "earthly -P +check-spelling",
"problemMatcher": {
"owner": "spell-check",
"owner": "check-spelling",
"pattern": {
"regexp": "([\\S+]+):(\\d+):(\\d+)\\s-\\s(.+)",
"file": 1,
Expand Down
9 changes: 5 additions & 4 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ markdown-check-fix:

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

spell-check:
# Check spelling in this repo.
LOCALLY
# check-spelling Check spelling in this repo inside a container.
check-spelling:
DO github.com/input-output-hk/catalyst-ci/earthly/cspell:v2.0.10+CHECK

DO github.com/input-output-hk/catalyst-ci/earthly/cspell:v1.3.0+CSPELL_LOCALLY --src=$(echo ${PWD})
check:
BUILD +check-spelling

repo-docs:
# Create artifacts of extra files we embed inside the documentation when its built.
Expand Down

0 comments on commit 920f241

Please sign in to comment.