use api gateway instead of chain client in getting version in zos upg… #5041
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |