Skip to content

Commit 920f241

Browse files
authored
fix: modify the spellcheck from local to call spellcheck in catalyst-ci (#28)
* feat: remote check-spelling * chore: remove local spellcheck workflow and earthfile
1 parent e811cd5 commit 920f241

File tree

3 files changed

+7
-20
lines changed

3 files changed

+7
-20
lines changed

.github/workflows/spell-check.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.vscode/tasks.recommended.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
{
4141
"label": "CI - Recursive Spell Check",
4242
"type": "shell",
43-
"command": "earthly -P +spell-check",
43+
"command": "earthly -P +check-spelling",
4444
"problemMatcher": {
45-
"owner": "spell-check",
45+
"owner": "check-spelling",
4646
"pattern": {
4747
"regexp": "([\\S+]+):(\\d+):(\\d+)\\s-\\s(.+)",
4848
"file": 1,

Earthfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ markdown-check-fix:
1717

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

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

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

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

0 commit comments

Comments
 (0)