From 52c0908775999c598451a99809f5b5f116e2ea7a Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Fri, 30 Oct 2020 15:41:42 -0700 Subject: [PATCH] Use the vendor folder explicitly --- .github/workflows/go.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9f3cc93..8307aaa 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,12 +14,12 @@ jobs: id: go - name: Check out code into the Go module directory - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Test run: | go mod tidy -v - go test -race ./... + go test -mod=vendor -race ./... - name: Build - run: go build ./... + run: go build -mod=vendor ./...