Merge pull request #7572 from hashicorp/dnephin/ci-fix-go-mod-download

ci: Fix working_directory for go mod download
This commit is contained in:
Daniel Nephin 2020-04-01 18:57:21 -04:00 committed by GitHub
commit d447a71a36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -131,7 +131,9 @@ jobs:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: /go/bin at: /go/bin
- run: go mod download - run:
working_directory: api
command: go mod download
- run: - run:
working_directory: api working_directory: api
name: go test name: go test
@ -160,7 +162,9 @@ jobs:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: /go/bin at: /go/bin
- run: go mod download - run:
working_directory: sdk
command: go mod download
- run: - run:
working_directory: sdk working_directory: sdk
name: go test name: go test