From cbc3b03a53e772b5019654ee11c2ca005e10a916 Mon Sep 17 00:00:00 2001 From: Tony Date: Thu, 30 Apr 2020 17:14:58 +0800 Subject: [PATCH] fix go test (#576) * fix go test * fix docker compose Co-authored-by: chenzhihui --- .github/workflows/go.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5bd903572..a17fd73f6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -29,8 +29,12 @@ jobs: curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh dep ensure fi + sudo rm /usr/local/bin/docker-compose + curl -L https://github.com/docker/compose/releases/download/1.25.5/docker-compose-`uname -s`-`uname -m` > docker-compose + chmod +x docker-compose + sudo mv docker-compose /usr/local/bin - name: Build - run: go build -v ./... + run: go build ./... - name: Test - run: go test -v ./... + run: go test ./...