Browse Source

fix: fix codecov action run fail (#1567)

CorrectRoadH 1 year ago
parent
commit
718a08eab2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .github/workflows/codecov.yml

+ 2 - 0
.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