Skip to content

use api gateway instead of chain client in getting version in zos upg… #5043

use api gateway instead of chain client in getting version in zos upg…

use api gateway instead of chain client in getting version in zos upg… #5043

Workflow file for this run

name: Tests and Coverage
on: [push]
jobs:
daemons:
name: Running Daemon Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v1
with:
go-version: 1.21
id: go
- name: Prepare dependencies
run: |
sudo apt-get update
sudo apt-get install -y libjansson-dev libhiredis-dev
- name: Checkout code into the Go module directory
uses: actions/checkout@v1
- name: Get dependencies
run: |
cd pkg
make getdeps
env:
GO111MODULE: on
- name: Run tests
run: |
cd pkg
make testrace
env:
GO111MODULE: on
- name: Build binaries
run: |
cd cmds
make
env:
GO111MODULE: on