diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa6cb6b..da1d03c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,10 +40,10 @@ jobs: - name: Run Unit Tests with Coverage run: go test -coverprofile=coverage.txt -covermode=atomic -v ./... - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: - # token is not needed for public repositories files: coverage.txt flags: unit-tests name: codecov-action - fail_ci_if_error: false \ No newline at end of file + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: false