add spellcheck to ci

This commit is contained in:
lightclient@protonmail.com 2021-08-26 03:07:05 +02:00
parent 41ddae9446
commit 78efdddcbe
No known key found for this signature in database
GPG Key ID: 75C916AFEE20183E
7 changed files with 48 additions and 7 deletions

11
.github/workflows/spellcheck.yaml vendored Normal file
View File

@ -0,0 +1,11 @@
name: Spellcheck
on: [push, pull_request, workflow_dispatch]
jobs:
build:
name: Spellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: rojopolis/spellcheck-github-actions@0.16.0
name: Spellcheck

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
node_modules/
openrpc.json
*.dic

15
spellcheck.yaml Normal file
View File

@ -0,0 +1,15 @@
matrix:
- name: json
sources:
- 'src/**/*.json'
aspell:
lang: en
d: en_US
run-together: true
run-together-min: 2
run-together-limit: 256
dictionary:
wordlists:
- wordlist.txt
encoding: utf-8
pipeline: null

View File

@ -11,10 +11,10 @@
}
},
{
"name": "Full transactions",
"name": "Hydrated transactions",
"required": true,
"schema": {
"title": "fullTx",
"title": "hydrated",
"type": "boolean"
}
}
@ -38,10 +38,10 @@
}
},
{
"name": "Full transactions",
"name": "Hydrated transactions",
"required": true,
"schema": {
"title": "fullTx",
"title": "hydrated",
"type": "boolean"
}
}

View File

@ -33,7 +33,7 @@
"type": "array",
"items": [
{
"title": "PoW hash",
"title": "Proof-of-work hash",
"$ref": "#/components/schemas/bytes32"
},
{
@ -53,7 +53,7 @@
"summary": "Used for submitting a proof-of-work solution.",
"params": [
{
"name": "PoW hash",
"name": "Proof-of-work hash",
"required": true,
"schema": {
"$ref": "#/components/schemas/bytes32"

View File

@ -12,7 +12,7 @@
"byte": {
"title": "hex encoded byte",
"type": "string",
"pattern": "^0x([a-fA-F0-9]?){1,2}$"
"pattern": "^0x([a-f,A-F,0-9]?){1,2}$"
},
"bytes": {
"title": "hex encoded bytes",

14
wordlist.txt Normal file
View File

@ -0,0 +1,14 @@
bytecode
eip
enum
eth
ommers
params
pre
rlp
schemas
secp
sha
uint
wei
yParity