From 812f8c47c346353f3d639604ea4fcdf52431ccc7 Mon Sep 17 00:00:00 2001 From: guanguans Date: Tue, 12 Jan 2021 16:15:15 +0800 Subject: [PATCH] Update github config files --- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 155874b..627f3eb 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -14,6 +14,6 @@ jobs: steps: - uses: actions/checkout@v2 - name: Init Go modules - run: go mod init github.com/guanguans/id-validator + run: go mod init guanguans/id-validator - name: Run golangci-lint uses: actions-contrib/golangci-lint@v1 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4e594b1..b640fe6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,7 +24,7 @@ jobs: uses: actions/checkout@v2 - name: Run unit tests run: | - go mod init github.com/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