Skip to content

Replaced oneOf with anyOf as it breaks the schema validation due to dupes (both block and tx hashes are hash32) #1287

Replaced oneOf with anyOf as it breaks the schema validation due to dupes (both block and tx hashes are hash32)

Replaced oneOf with anyOf as it breaks the schema validation due to dupes (both block and tx hashes are hash32) #1287

Workflow file for this run

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