-
Notifications
You must be signed in to change notification settings - Fork 33
46 lines (39 loc) · 1 KB
/
go.yaml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: "ethconnect"
- uses: actions/checkout@v4
with:
repository: kaleido-io/ethbinding
path: "ethbinding"
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
check-latest: true
- name: Install solc
run: |
sudo curl -Lo /usr/local/bin/solc https://github.com/ethereum/solidity/releases/download/v0.7.6/solc-static-linux
sudo chmod 755 /usr/local/bin/solc
- name: Build and Test
env:
TEST_DEBUG_FLAGS: -v
run: cd ethconnect && make
- name: Upload coverage
run: bash <(curl -s https://codecov.io/bash)
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: docker build .