Add codecov token.

It shouldn't be necessary for public repos, but GitHub actions
error suggests to add it.
This commit is contained in:
Mariano Cano 2022-04-11 14:21:14 -07:00
parent 25d0ca258d
commit c4ff0f1cc3

View file

@ -61,6 +61,7 @@ jobs:
if: matrix.go == '1.18'
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out # optional
name: codecov-umbrella # optional
fail_ci_if_error: true # optional (default = false)