From be8877e9142667131eb7bcf50e076da1a9d0f43e Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:43:21 +0100 Subject: [PATCH] Update codecov action --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 14ac1276..2314bc48 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -50,7 +50,10 @@ jobs: ${{ runner.os }}-go${{ matrix.go }}-test- - run: go test -race -coverpkg=./... -coverprofile=cover.out $(go list ./...) - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} # run go test on Dendrite with different go versions test-dendrite: