From 2dacca7b84fd5c550f7396b4a674a11ef3e6b053 Mon Sep 17 00:00:00 2001 From: congqixia Date: Tue, 16 Jan 2024 13:56:53 +0800 Subject: [PATCH] enhance: [skip e2e] use checkout action to get ".git" for codecov (#30014) Ignoring .git may result "unusable report" in codecov. Use checkout action to get .git information in upload codecov step --------- Signed-off-by: Congqi Xia --- .github/workflows/main.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e0b7ed31fa..0e9df3e6a6 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -238,6 +238,10 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Download Cpp code coverage results uses: actions/download-artifact@v4.1.0 with: