Skip to content

Commit 706ac42

Browse files
authored
[CICD]: add spell chcker to GitHub action (#658)
## Summary Add https://github.com/crate-ci/typos to GitHub action and fix existing typos. ## How was it tested? Signed-off-by: Zhizhen He <[email protected]>
1 parent a1d3832 commit 706ac42

File tree

7 files changed

+17
-8
lines changed

7 files changed

+17
-8
lines changed

.github/workflows/cli-tests.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ env:
3232
HOMEBREW_NO_INSTALL_CLEANUP: 1
3333

3434
jobs:
35+
typos:
36+
name: Spell Check with Typos
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v3
40+
- uses: crate-ci/[email protected]
41+
3542
golangci-lint:
3643
strategy:
3744
matrix:

docs/app/docs/devbox_cloud/getting_started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Once your service is running, you may want to test it with your browser or local
158158

159159
You can do this using `devbox cloud forward :<remote_port>`, which will forward ports from your cloud instance to your local machine. If you provide just the remote port, Devbox will forward it to a randomly assigned local port.
160160

161-
You can view the full list of port-forwards on your machine using `devbox cloud forward ls`. You can also terminate port=forwarding with `devbox cloud forward termiante`.
161+
You can view the full list of port-forwards on your machine using `devbox cloud forward ls`. You can also terminate port=forwarding with `devbox cloud forward terminate`.
162162

163163
#### Example: Port-forwarding our Flask App
164164

@@ -184,4 +184,4 @@ curl localhost:5000
184184
* Try out one of our **[Examples](../devbox_examples/index.md)** in Devbox Cloud Shell
185185
* Learn more about the **[Devbox Cloud Shell Open Beta](index.md)**
186186
* Join the **[Discord Community](https://discord.gg/jetpack-io)**
187-
* File an Issue or Contribute on our **[Github Repo](https://github.com/jetpack-io/devbox)**
187+
* File an Issue or Contribute on our **[Github Repo](https://github.com/jetpack-io/devbox)**

docs/app/docs/devbox_examples/languages/nim.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Nim
33
---
44

5-
Nim projects can be run in Devbox by adding Nim and Nimble to your project. For some platforms, Nimble may return an error if OpenSSL is not available, so we recommend including `openssl_1_1` in your pacakges as well
5+
Nim projects can be run in Devbox by adding Nim and Nimble to your project. For some platforms, Nimble may return an error if OpenSSL is not available, so we recommend including `openssl_1_1` in your packages as well
66

77
[**Example Repo**](https://github.com/jetpack-io/devbox-examples/tree/main/development/nim/spinnytest)
88

@@ -20,4 +20,4 @@ Nim projects can be run in Devbox by adding Nim and Nimble to your project. For
2020
]
2121
```
2222

23-
This will install Nim 1.6.8.
23+
This will install Nim 1.6.8.

docs/app/static/img/cloud.svg

Lines changed: 1 addition & 1 deletion
Loading

internal/cloud/cloud.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ func getVirtualMachine(sshCmd *openssh.Cmd) (vmUser, vmHost, region string, err
244244
}
245245
resp := &vm{}
246246
if err := json.Unmarshal(sshOut, resp); err != nil {
247-
return "", "", "", errors.Wrapf(err, "error unmarshaling gateway response %q", sshOut)
247+
return "", "", "", errors.Wrapf(err, "error unmarshalling gateway response %q", sshOut)
248248
}
249249
if redacted, err := json.MarshalIndent(resp.redact(), "\t", " "); err == nil {
250250
debug.Log("got gateway response:\n\t%s", redacted)

plugins/redis/redis.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ slave-priority 100
637637
# it with the specified string.
638638
# 4) During replication, when a slave performs a full resynchronization with
639639
# its master, the content of the whole database is removed in order to
640-
# load the RDB file just transfered.
640+
# load the RDB file just transferred.
641641
#
642642
# In all the above cases the default is to delete objects in a blocking way,
643643
# like if DEL was called. However you can configure each case specifically
@@ -1173,7 +1173,7 @@ client-output-buffer-limit pubsub 32mb 8mb 60
11731173
# client-query-buffer-limit 1gb
11741174

11751175
# In the Redis protocol, bulk requests, that are, elements representing single
1176-
# strings, are normally limited ot 512 mb. However you can change this limit
1176+
# strings, are normally limited to 512 mb. However you can change this limit
11771177
# here.
11781178
#
11791179
# proto-max-bulk-len 512mb

typos.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[default.extend-words]
2+
AKE = "AKE"

0 commit comments

Comments
 (0)