aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ./...