fix go test (#576)

* fix go test

* fix docker compose

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
pull/582/head
Tony 5 years ago committed by GitHub
parent d29dfdfd67
commit cbc3b03a53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      .github/workflows/go.yml

@ -29,8 +29,12 @@ jobs:
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure dep ensure
fi 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 - name: Build
run: go build -v ./... run: go build ./...
- name: Test - name: Test
run: go test -v ./... run: go test ./...

Loading…
Cancel
Save