From 7e6133812ddc2578957aee6a5b0f282254185f37 Mon Sep 17 00:00:00 2001 From: guanguans Date: Tue, 12 Jan 2021 16:32:42 +0800 Subject: [PATCH] Update github config files --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 159d153..bab6ac6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,6 +6,7 @@ on: pull_request: env: GOPROXY: "https://proxy.golang.org" + GO111MODULE: "on" jobs: test: @@ -24,7 +25,7 @@ jobs: uses: actions/checkout@v2 - name: Run unit tests run: | -# go mod init guanguans/id-validator + # go mod init guanguans/id-validator go test -v -race -coverprofile=coverage -covermode=atomic ./... - name: Upload coverage report to Codecov uses: codecov/codecov-action@v1.0.6