chore: add CODECOV_TOKEN environment secret in CI workflows (#3110)

Co-authored-by: 澄潭 <zty98751@alibaba-inc.com>
This commit is contained in:
Jingze
2025-11-11 19:40:29 +08:00
committed by GitHub
parent 8a3c0bb342
commit 4a6d78380a
2 changed files with 4 additions and 0 deletions

View File

@@ -48,6 +48,8 @@ jobs:
GOPROXY="https://proxy.golang.org,direct" make go.test.coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: false
files: ./coverage.xml

View File

@@ -180,6 +180,8 @@ jobs:
- name: Upload coverage to Codecov for ${{ matrix.plugin }}
uses: codecov/codecov-action@v4
if: always()
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: plugins/wasm-go/extensions/${{ matrix.plugin }}/coverage-${{ matrix.plugin }}.out
flags: wasm-go-plugin-${{ matrix.plugin }}