Skip to content

Create parity_rpc client that replace input -> data field #3372

Create parity_rpc client that replace input -> data field

Create parity_rpc client that replace input -> data field #3372

Workflow file for this run

name: default
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
ts-test:
name: Type Script Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./contracts
steps:
- name: Install Node JS
uses: actions/setup-node@v1
with:
node-version: 14.18.3
- name: Checkout Code
uses: actions/checkout@v2
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install
run: yarn --frozen-lockfile --prefer-offline
- name: Build
run: yarn build
- name: Run tests
run: yarn test
go-tests:
name: Golang Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./relay
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Checkout Code
uses: actions/checkout@v2
- name: Install dependencies
run: go get ./...
- name: Unit Tests
run: go test --short ./... -tags ci