Update github config files
This commit is contained in:
parent
0193c1a754
commit
812f8c47c3
2
.github/workflows/golangci-lint.yml
vendored
2
.github/workflows/golangci-lint.yml
vendored
@ -14,6 +14,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Init Go modules
|
- name: Init Go modules
|
||||||
run: go mod init github.com/guanguans/id-validator
|
run: go mod init guanguans/id-validator
|
||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
uses: actions-contrib/golangci-lint@v1
|
uses: actions-contrib/golangci-lint@v1
|
||||||
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: |
|
run: |
|
||||||
go mod init github.com/guanguans/id-validator
|
go mod init guanguans/id-validator
|
||||||
go test -v -race -coverprofile=coverage -covermode=atomic ./...
|
go test -v -race -coverprofile=coverage -covermode=atomic ./...
|
||||||
- name: Upload coverage report to Codecov
|
- name: Upload coverage report to Codecov
|
||||||
uses: codecov/codecov-action@v1.0.6
|
uses: codecov/codecov-action@v1.0.6
|
||||||
|
Loading…
Reference in New Issue
Block a user