From 003d8b4952756a97cec1a8dd2d9eacd125f4715b Mon Sep 17 00:00:00 2001 From: yeqown Date: Fri, 22 Dec 2023 17:13:28 +0800 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f9c7756..d61c61a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -50,3 +50,8 @@ jobs: working-directory: ./writer/terminal run: go mod tidy && mkdir testdata && go test -v ./... continue-on-error: false + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}