diff --git a/.github/workflows/test_template.yml b/.github/workflows/test_template.yml index b032718ff62..ccbae792c78 100644 --- a/.github/workflows/test_template.yml +++ b/.github/workflows/test_template.yml @@ -57,11 +57,11 @@ jobs: go tool covdata textfmt -v 1 $filter -i=$GOCOVERDIR,$TXTARCOVERDIR -o gocoverage.out - name: Upload go coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: disable_search: true fail_ci_if_error: true - file: ${{ inputs.modulepath }}/gocoverage.out + files: ${{ inputs.modulepath }}/gocoverage.out flags: ${{ inputs.modulepath }} token: ${{ secrets.codecov-token }} verbose: true # keep this enable as it help debugging when coverage fail randomly on the CI