diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 8222ace..6985e69 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -164,6 +164,14 @@ jobs: env: # Allow warnings on Nightly RUSTFLAGS: "" + spell-check: + name: spellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + # Uses the canonical version so that the version is up to date: + # https://github.com/rojopolis/spellcheck-github-actions?tab=readme-ov-file#using-a-canonical-version + - uses: rojopolis/spellcheck-github-actions@v0 # cli-check: # name: cli-check # needs: [check-labels] diff --git a/.spellcheck.yml b/.spellcheck.yml new file mode 100644 index 0000000..806a68b --- /dev/null +++ b/.spellcheck.yml @@ -0,0 +1,23 @@ +matrix: +- name: Markdown + sources: + - '!venv/**/*.md|**/*.md' + default_encoding: utf-8 + aspell: + lang: en + dictionary: + wordlists: + - wordlist.txt + encoding: utf-8 + pipeline: + - pyspelling.filters.markdown: + - pyspelling.filters.html: + comments: false + ignores: + - code + - pre + sources: + - './book/**/*.md' + - 'README.md' + - 'SECURITY.md' + - 'CONTRIBUTING.md' diff --git a/wordlist.txt b/wordlist.txt new file mode 100644 index 0000000..5573d13 --- /dev/null +++ b/wordlist.txt @@ -0,0 +1,33 @@ +MacOS +linter +Testnets +testnet +Testnet +QBFT +SSV +validator +libp +middleware +performant +github +sigp +io +sigmaprime +mdBook +spec'd +PRs +Styleguide +clippy +rustfmt +TODOs +config +struct +structs +Config +PathBuf +dir +Exercism +blockchain +Ethereum +HTTPS +repo