forked from hayesgm/seacrest
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (22 loc) · 958 Bytes
/
test-local.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Test Local Action
on:
pull_request:
jobs:
check:
name: Test Local Seacrest Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Run Seacrest
uses: ./
with:
ethereum_url: https://goerli.infura.io
requested_network: 'goerli'
wallet_connect_project_id: "${{ secrets.WALLET_CONNECT_PROJECT_ID }}"
- name: Check Account
run: |
curl -i http://localhost:8585 -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":2}'
curl -i http://localhost:8585 -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":3}'
curl -i http://localhost:8585 -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"personal_sign","params":["0x112233"],"id":4}'