diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000..5aa4b5e --- /dev/null +++ b/.codespellrc @@ -0,0 +1,3 @@ +[codespell] +skip = .git,*.pdf,*.svg +# ignore-words-list = diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..5768d7c --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,19 @@ +--- +name: Codespell + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Codespell + uses: codespell-project/actions-codespell@v1 diff --git a/README.md b/README.md index 48fe5b5..7e369df 100644 --- a/README.md +++ b/README.md @@ -825,7 +825,7 @@ error message on the standard error. ``` -- ERROR: temp_make -- -mktemp: failed to create directory via template ‘/etc/samle.bats-1-XXXXXXXXXX’: Permission denied +mktemp: failed to create directory via template ‘/etc/sample.bats-1-XXXXXXXXXX’: Permission denied -- ``` @@ -866,7 +866,7 @@ error message on the standard error. ``` -- ERROR: temp_del -- -rm: cannot remove '/etc/samle.bats-1-04RUVmBP7x': No such file or directory +rm: cannot remove '/etc/sample.bats-1-04RUVmBP7x': No such file or directory -- ``` @@ -949,7 +949,7 @@ path : /path/to/non-existent-file ## **Development** -No one would want to develop piece of bash dependant libraries on their laptops due to single mistake (globbing for instance) can cause a disaster. In order to prevent this there is a Vagrantfile that you can use. +No one would want to develop piece of bash dependent libraries on their laptops due to single mistake (globbing for instance) can cause a disaster. In order to prevent this there is a Vagrantfile that you can use. In order to start development environment, you have to take two steps; @@ -959,7 +959,7 @@ user@localhost:~/bats-file$ vagrant up The line above spins up a brand new virtualbox image and provisions with prerequisites. -However, as the tests require not to be on a network share due to running commands eg: `mknod`, the files are shared into the VM by `rsync` module. Rsync in vagrant only runs initialy and stops. During the active development, you regularly change files and might want to see the impact. To achive that, you have to use auto rsync. +However, as the tests require not to be on a network share due to running commands eg: `mknod`, the files are shared into the VM by `rsync` module. Rsync in vagrant only runs initially and stops. During the active development, you regularly change files and might want to see the impact. To achieve that, you have to use auto rsync. > `auto-rsync` is a long running command. It means that it has to run on terminal screen as long as the VM is up and running. So, you have to keep this in a dedicated terminal screen.