diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e8f8136..091466f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,9 +37,11 @@ jobs: cache: true - run: go test ./... -v -coverprofile=./coverage.txt -race -vet=off - name: Upload coverage data - uses: codecov/codecov-action@v4.1.0 + uses: codecov/codecov-action@v4.1.1 with: file: ./coverage.txt + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} - uses: actions/upload-artifact@v4 with: name: coverage.txt