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

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