Replaced oneOf with anyOf as it breaks the schema validation due to dupes (both block and tx hashes are hash32) #1285
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
lint-and-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 15.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ^15.x | |
- run: npm ci | |
- run: npm run build | |
- run: npm run lint | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.18 | |
id: go | |
- name: Install speccheck | |
run: go install github.com/lightclient/rpctestgen/cmd/speccheck@latest | |
- name: Run speccheck | |
run: speccheck -v |