diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8176c00..a7de427 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -15,12 +15,17 @@ jobs: - name: Checkout code uses: actions/checkout@v1 + with: + fetch-depth: 1 + path: go/src/github.com/douban/gobeansproxy - name: Test run: | go mod tidy go install github.com/douban/gobeansdb@latest make test + env: + GOPATH: /home/runner/work/gobeansproxy/go/ - name: Install run: make install