mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-22 03:38:41 +02:00
fix go test (#576)
* fix go test * fix docker compose Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
This commit is contained in:
parent
d29dfdfd67
commit
cbc3b03a53
8
.github/workflows/go.yml
vendored
8
.github/workflows/go.yml
vendored
@ -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…
x
Reference in New Issue
Block a user