mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Update go.yml
This commit is contained in:
parent
857aa0de08
commit
49973333f2
6
.github/workflows/go.yml
vendored
6
.github/workflows/go.yml
vendored
|
@ -24,14 +24,14 @@ jobs:
|
||||||
|
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: |
|
run: |
|
||||||
go get -v -t -d ./...
|
cd weed; go get -v -t -d ./...
|
||||||
if [ -f Gopkg.toml ]; then
|
if [ -f Gopkg.toml ]; then
|
||||||
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
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v .
|
run: cd weed; go build -v .
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v .
|
run: cd weed; go test -v .
|
||||||
|
|
Loading…
Reference in a new issue