Skip to content

Commit badcb29

Browse files
AlinsRanCopilot
andcommitted
ci: fix misspell workflow install
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9efafc9 commit badcb29

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/spell-checker.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,14 @@ jobs:
3131
steps:
3232
- name: Check out code.
3333
uses: actions/checkout@v4
34+
- name: Set up Go
35+
uses: actions/setup-go@v5
36+
with:
37+
go-version-file: go.mod
3438
- name: Install
3539
run: |
36-
wget -O - -q https://git.io/misspell | sh -s -- -b .
40+
go install github.com/client9/misspell/cmd/misspell@v0.3.4
3741
- name: Misspell
3842
run: |
39-
find . -name "*.go" -type f | xargs ./misspell -i mosquitto -error
40-
find docs -type f | xargs ./misspell -error
43+
find . -name "*.go" -type f | xargs "$(go env GOPATH)/bin/misspell" -i mosquitto -error
44+
find docs -type f | xargs "$(go env GOPATH)/bin/misspell" -error

0 commit comments

Comments
 (0)