ci: check for typos (#131)
This commit is contained in:
committed by
GitHub
parent
376c0cae31
commit
6b842004e6
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@@ -34,5 +34,7 @@ jobs:
|
||||
run: bun install
|
||||
- name: Format
|
||||
run: bun fmt:ci
|
||||
- name: typos-action
|
||||
uses: crate-ci/typos@v1.17.2
|
||||
- name: Lint
|
||||
run: bun lint
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
To create a new module, clone this repository and run:
|
||||
|
||||
```shell
|
||||
./new.sh MOUDLE_NAME
|
||||
./new.sh MODULE_NAME
|
||||
```
|
||||
|
||||
## Testing a Module
|
||||
|
||||
@@ -10,7 +10,7 @@ tags: [helper, parameter, instances, exoscale]
|
||||
# exoscale-instance-type
|
||||
|
||||
A parameter with all Exoscale instance types. This allows developers to select
|
||||
their desired virtuell machine for the workspace.
|
||||
their desired virtual machine for the workspace.
|
||||
|
||||
Customize the preselected parameter value:
|
||||
|
||||
@@ -70,7 +70,7 @@ resource "coder_metadata" "workspace_info" {
|
||||
|
||||

|
||||
|
||||
### Use category and exlude type
|
||||
### Use category and exclude type
|
||||
|
||||
Show only gpu1 types
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ describe("filebrowser", async () => {
|
||||
expect(output.stdout).toEqual([
|
||||
"\u001b[0;1mInstalling filebrowser ",
|
||||
"",
|
||||
"🥳 Installation comlete! ",
|
||||
"🥳 Installation complete! ",
|
||||
"",
|
||||
"👷 Starting filebrowser in background... ",
|
||||
"",
|
||||
@@ -55,7 +55,7 @@ describe("filebrowser", async () => {
|
||||
expect(output.stdout).toEqual([
|
||||
"\u001b[0;1mInstalling filebrowser ",
|
||||
"",
|
||||
"🥳 Installation comlete! ",
|
||||
"🥳 Installation complete! ",
|
||||
"",
|
||||
"👷 Starting filebrowser in background... ",
|
||||
"",
|
||||
@@ -77,7 +77,7 @@ describe("filebrowser", async () => {
|
||||
expect(output.stdout).toEqual([
|
||||
"\u001B[0;1mInstalling filebrowser ",
|
||||
"",
|
||||
"🥳 Installation comlete! ",
|
||||
"🥳 Installation complete! ",
|
||||
"",
|
||||
"👷 Starting filebrowser in background... ",
|
||||
"",
|
||||
|
||||
@@ -5,7 +5,7 @@ printf "$${BOLD}Installing filebrowser \n\n"
|
||||
|
||||
curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
|
||||
|
||||
printf "🥳 Installation comlete! \n\n"
|
||||
printf "🥳 Installation complete! \n\n"
|
||||
|
||||
printf "👷 Starting filebrowser in background... \n\n"
|
||||
|
||||
|
||||
4
new.sh
4
new.sh
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This scripts creates a new sample moduledir with requried files
|
||||
# This scripts creates a new sample moduledir with required files
|
||||
# Run it like : ./new.sh my-module
|
||||
|
||||
MODULE_NAME=$1
|
||||
@@ -11,7 +11,7 @@ if [ -z "$MODULE_NAME" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create module directory and exit if it alredy exists
|
||||
# Create module directory and exit if it already exists
|
||||
if [ -d "$MODULE_NAME" ]; then
|
||||
echo "Module with name $MODULE_NAME already exists"
|
||||
echo "Please choose a different name"
|
||||
|
||||
Reference in New Issue
Block a user