fix: fix codecov action run fail (#1567)

This commit is contained in:
CorrectRoadH 2023-12-21 15:14:36 +08:00 committed by GitHub
parent 6f722b3506
commit 718a08eab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: generate OPENAPI
run: go generate
- name: Run coverage
run: go test -race -failfast -coverprofile=coverage.txt -covermode=atomic -v ./...
- name: Upload coverage to Codecov