Skip to content

Commit

Permalink
Add spell-check to Anchor book (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
chong-he authored Oct 31, 2024
1 parent 7c2274a commit e007c1f
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
23 changes: 23 additions & 0 deletions .spellcheck.yml
Original file line number Diff line number Diff line change
@@ -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'
33 changes: 33 additions & 0 deletions wordlist.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e007c1f

Please sign in to comment.