fix: fix codecov action run fail (#1567)
This commit is contained in:
parent
6f722b3506
commit
718a08eab2
1 changed files with 2 additions and 0 deletions
2
.github/workflows/codecov.yml
vendored
2
.github/workflows/codecov.yml
vendored
|
@ -20,6 +20,8 @@ jobs:
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: "1.20"
|
go-version: "1.20"
|
||||||
|
- name: generate OPENAPI
|
||||||
|
run: go generate
|
||||||
- name: Run coverage
|
- name: Run coverage
|
||||||
run: go test -race -failfast -coverprofile=coverage.txt -covermode=atomic -v ./...
|
run: go test -race -failfast -coverprofile=coverage.txt -covermode=atomic -v ./...
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
|
|
Loading…
Reference in a new issue