Skip to content

unit test fix

unit test fix #1222

Workflow file for this run

name: Go
on:
pull_request:
branches: [feat/*, rc/*]
types: [opened, ready_for_review]
push:
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.17.6
uses: actions/setup-go@v2
with:
go-version: 1.17.6
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: make build