From 718a08eab2d922046f0c1cc0633eea7f2c23f9a8 Mon Sep 17 00:00:00 2001 From: CorrectRoadH Date: Thu, 21 Dec 2023 15:14:36 +0800 Subject: [PATCH] fix: fix codecov action run fail (#1567) --- .github/workflows/codecov.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index f6aea6f..fb05875 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -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