Browse Source

Update github config files

tags/v1.0.0
guanguans 3 years ago
parent
commit
812f8c47c3
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      .github/workflows/golangci-lint.yml
  2. +1
    -1
      .github/workflows/tests.yml

+ 1
- 1
.github/workflows/golangci-lint.yml View File

@@ -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

+ 1
- 1
.github/workflows/tests.yml View File

@@ -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


Loading…
Cancel
Save