aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2020-10-29 23:46:54 -0700
committerGitHub <noreply@github.com>2020-10-29 23:46:54 -0700
commit0cdf1726948b05d89e0b8140aa765fd6ceac05dc (patch)
tree861c2ff5f4e4a9d434e7b0a967a66d60ce9f47a1
parent09a7cb83535d5c2722ea5f7cd9bd2d0ba11c221a (diff)
downloadseaweedfs-0cdf1726948b05d89e0b8140aa765fd6ceac05dc.tar.xz
seaweedfs-0cdf1726948b05d89e0b8140aa765fd6ceac05dc.zip
Update go.yml
-rw-r--r--.github/workflows/go.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 1c5b4860e..b2948a0b7 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -17,20 +17,21 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: ^1.13
+ id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
- go get -v -t -d ./...
+ cd weed; 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: go build -v .
+ run: cd weed; go build -v .
- name: Test
- run: go test -v .
+ run: cd weed; go test -v ./...