File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1919 with :
2020 go-version : ^1.18
2121 id : go
22+ - name : Install openrpc-linter
23+ run : go install github.com/shanejonas/openrpc-linter@latest
24+ - name : Run openrpc-linter
25+ run : openrpc-linter lint refs-openrpc.json -r openrpc-lint.yml
26+
2227 - name : Install speccheck
2328 run : go install github.com/lightclient/rpctestgen/cmd/speccheck@latest
2429 - name : Run speccheck
Original file line number Diff line number Diff line change 1+ description : " OpenRPC validation rules"
2+ rules :
3+ info-title :
4+ description : " Info must have description. It supports markdown, and usually shows up as the index page of the documentation."
5+ given : " $.info"
6+ severity : " error"
7+ then :
8+ field : " description"
9+ function : " truthy"
10+ method-summary :
11+ description : " Method must have a summary."
12+ given : " $.methods[*]"
13+ severity : " error"
14+ then :
15+ field : " summary"
16+ function : " truthy"
You can’t perform that action at this time.
0 commit comments