Skip to content

Commit

Permalink
Use codecov token. (open-cluster-management-io#190)
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
Signed-off-by: Jian Qiu <[email protected]>
  • Loading branch information
xuezhaojun authored and qiujian16 committed May 21, 2024
1 parent e1570f6 commit f726f41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/go-presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ env:
# Common versions
GO_VERSION: '1.21'
GO_REQUIRED_MIN_VERSION: ''
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

jobs:
build:
Expand Down Expand Up @@ -62,8 +63,9 @@ jobs:
- name: unit
run: make test
- name: report coverage
uses: codecov/codecov-action@v4.2.0
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./cover.out
flags: unit
name: unit
Expand Down

0 comments on commit f726f41

Please sign in to comment.