From 0cdf1726948b05d89e0b8140aa765fd6ceac05dc Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 29 Oct 2020 23:46:54 -0700 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 7 ++++--- 1 file 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 ./...