We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9efafc9 commit badcb29Copy full SHA for badcb29
1 file changed
.github/workflows/spell-checker.yml
@@ -31,10 +31,14 @@ jobs:
31
steps:
32
- name: Check out code.
33
uses: actions/checkout@v4
34
+ - name: Set up Go
35
+ uses: actions/setup-go@v5
36
+ with:
37
+ go-version-file: go.mod
38
- name: Install
39
run: |
- wget -O - -q https://git.io/misspell | sh -s -- -b .
40
+ go install github.com/client9/misspell/cmd/misspell@v0.3.4
41
- name: Misspell
42
- find . -name "*.go" -type f | xargs ./misspell -i mosquitto -error
- 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